Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8783/0.8787, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001136/0.8799, allocations: 390.3 kB / 1.021 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.8812, allocations: 0.8041 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.8813, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.8813, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.8814, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.8816, allocations: 15.92 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.8817, allocations: 11.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.8818, allocations: 8 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.8819, allocations: 3.984 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.8819, allocations: 11.94 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.882, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.882, allocations: 4 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.882, allocations: 7.969 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.882, allocations: 25.7 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.505e-05/0.8821, allocations: 15.97 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8821, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8821, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8821, allocations: 4 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005543/0.8827, allocations: 337.3 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.8828, allocations: 15.92 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.8828, allocations: 7.938 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.883, allocations: 159.1 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.883, allocations: 4 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.883, allocations: 7.938 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.8832, allocations: 61.62 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8833, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8833, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8833, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.8835, allocations: 47.95 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.8839, allocations: 244.9 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.884, allocations: 46.48 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.884, allocations: 8.062 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.8841, allocations: 34.56 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.8841, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.8845, allocations: 101.5 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.8846, allocations: 51.41 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.8846, allocations: 97.86 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.8847, allocations: 29.64 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.8847, allocations: 88.08 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.8847, allocations: 7.891 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.8848, allocations: 0 / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8849, allocations: 315 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.885, allocations: 23.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.8851, allocations: 19.98 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.291e-05/0.8852, allocations: 28.03 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8852, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.8854, allocations: 73.62 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8854, allocations: 12.03 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8854, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8854, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.8856, allocations: 11.98 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8856, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.8856, allocations: 11.98 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8856, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.8857, allocations: 117.8 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.8858, allocations: 7.891 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.886, allocations: 76.78 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.886, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8861, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8861, allocations: 4.031 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.8862, allocations: 157.7 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8863, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.8863, allocations: 15.92 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8863, allocations: 3.953 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8864, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8864, allocations: 192 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.8866, allocations: 183.4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.8867, allocations: 81.09 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.8867, allocations: 3.953 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.8868, allocations: 16.02 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.8868, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.8869, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.8869, allocations: 79.28 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8869, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002126/0.8871, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/0.8873, allocations: 99.23 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.8875, allocations: 51.91 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8875, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.8876, allocations: 23.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.8879, allocations: 12.11 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.8882, allocations: 110.6 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.8885, allocations: 0.677 MB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.8886, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.8886, allocations: 7.438 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8886, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002291/0.8909, allocations: 340.5 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches