Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 190.2 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 109.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003863, allocations: 10.19 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4599, allocations: 149.6 MB / 1.375 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4602, allocations: 71.95 kB / 1.375 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001811/0.4621, allocations: 0.6687 MB / 1.376 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4621, allocations: 0 / 1.376 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4621, allocations: 0 / 1.376 GB, free: 3.188 MB / 0.8698 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.000387/0.4625, allocations: 335.4 kB / 1.376 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4625, allocations: 11.97 kB / 1.376 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.4626, allocations: 7.906 kB / 1.376 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4627, allocations: 174.9 kB / 1.377 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4628, allocations: 0 / 1.377 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4628, allocations: 4 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.463, allocations: 58.56 kB / 1.377 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.463, allocations: 0 / 1.377 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.463, allocations: 0 / 1.377 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.463, allocations: 0 / 1.377 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4632, allocations: 39.97 kB / 1.377 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.4637, allocations: 272.8 kB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.4638, allocations: 38.56 kB / 1.377 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4638, allocations: 4 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4639, allocations: 34.62 kB / 1.377 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.4639, allocations: 3.984 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.4643, allocations: 101.7 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4643, allocations: 51.41 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.4644, allocations: 96.98 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4644, allocations: 25.7 kB / 1.377 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.4645, allocations: 84.14 kB / 1.377 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4645, allocations: 3.906 kB / 1.377 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.4645, allocations: 0 / 1.377 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4646, allocations: 322.8 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.4647, allocations: 23.97 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.4648, allocations: 19.98 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.4649, allocations: 24.05 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4649, allocations: 0 / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002056/0.4651, allocations: 77.59 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4651, allocations: 7.938 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4652, allocations: 4.031 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4652, allocations: 4 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4653, allocations: 15.98 kB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4653, allocations: 0 / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.4654, allocations: 4 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4654, allocations: 4 kB / 1.378 GB, free: 1.16 MB / 0.8698 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 8.743e-05/0.4655, allocations: 118.6 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.4655, allocations: 7.906 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.4658, allocations: 80.78 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4658, allocations: 3.938 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4658, allocations: 0 / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4658, allocations: 4.031 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.466, allocations: 161.6 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.466, allocations: 0 / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.4661, allocations: 15.92 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4661, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4661, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4661, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4661, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4664, allocations: 175.5 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.4664, allocations: 81.11 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4665, allocations: 3.984 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.4665, allocations: 8.031 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4666, allocations: 7.984 kB / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4666, allocations: 0 / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.4667, allocations: 79.28 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4667, allocations: 0 / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002177/0.4669, allocations: 4 kB / 1.379 GB, free: 336 kB / 0.8698 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.000169/0.4671, allocations: 99.25 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.4673, allocations: 55.89 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4673, allocations: 0 / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.4674, allocations: 19.98 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4676, allocations: 16.94 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.4679, allocations: 108.3 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.4682, allocations: 0.6809 MB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.4683, allocations: 3.938 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.4683, allocations: 7.438 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.4683, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.002258/0.4706, allocations: 352.5 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches