Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 393.5 MB / 408.4 MB, free: 11 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.001075/0.001075, allocations: 180 kB / 0.4902 GB, free: 2.227 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.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.001047/0.001047, allocations: 91.05 kB / 0.9396 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 11.36 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2742, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.467, allocations: 149.1 MB / 1.375 GB, free: 88 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4673, allocations: 67.95 kB / 1.375 GB, free: 20 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000522/0.4678, allocations: 376.9 kB / 1.375 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4678, allocations: 0 / 1.375 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4678, allocations: 0 / 1.375 GB, free: 15.65 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002618/0.4681, allocations: 303.4 kB / 1.376 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4682, allocations: 12.09 kB / 1.376 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4682, allocations: 7.984 kB / 1.376 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.4683, allocations: 163 kB / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4683, allocations: 0 / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.4684, allocations: 4 kB / 1.376 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4685, allocations: 37.58 kB / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4685, allocations: 0 / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4685, allocations: 0 / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.4685, allocations: 0 / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.537e-05/0.4685, allocations: 0 / 1.376 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.4689, allocations: 391.5 kB / 1.376 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.469, allocations: 171 kB / 1.376 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.469, allocations: 75.28 kB / 1.376 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.4691, allocations: 113.9 kB / 1.377 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.4691, allocations: 0 / 1.377 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.623e-05/0.4691, allocations: 29.69 kB / 1.377 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4692, allocations: 134.7 kB / 1.377 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.4693, allocations: 89 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.4693, allocations: 25.7 kB / 1.377 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4694, allocations: 80.14 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.4694, allocations: 7.875 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.4694, allocations: 4.125 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4695, allocations: 314.8 kB / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.4695, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-06/0.4695, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.4696, allocations: 79.28 kB / 1.377 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/0.4696, allocations: 75.28 kB / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.121e-05/0.4696, allocations: 29.7 kB / 1.377 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.4697, allocations: 88.05 kB / 1.377 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.4697, allocations: 83.22 kB / 1.378 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.937e-05/0.4698, allocations: 150.6 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/0.4698, allocations: 75.28 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/0.4699, allocations: 158.5 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.47, allocations: 79.28 kB / 1.378 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.47, allocations: 79.22 kB / 1.378 GB, free: 12.63 MB / 0.8855 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 (0): * Single equations (assignments): 0 * 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 0.0001298/0.4702, allocations: 269.8 kB / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.4702, allocations: 109 kB / 1.378 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.4703, allocations: 107.9 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/0.4703, allocations: 180.2 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/0.4704, allocations: 176.3 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/0.4705, allocations: 192.2 kB / 1.379 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4707, allocations: 405.1 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.4708, allocations: 101 kB / 1.379 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.4708, allocations: 108.9 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.32e-05/0.4709, allocations: 180.2 kB / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.4709, allocations: 184.2 kB / 1.38 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.527e-05/0.471, allocations: 180.3 kB / 1.38 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.576e-05/0.4711, allocations: 184.2 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.4712, allocations: 312 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.4713, allocations: 186 kB / 1.381 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.4714, allocations: 184.3 kB / 1.381 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.4715, allocations: 104.9 kB / 1.381 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.4716, allocations: 184.2 kB / 1.381 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.4716, allocations: 101 kB / 1.381 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.4716, allocations: 79.28 kB / 1.381 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4716, allocations: 0 / 1.381 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002511/0.4719, allocations: 4.094 kB / 1.381 GB, free: 8.953 MB / 0.8855 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 (0): * Single equations (assignments): 0 * 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.0001449/0.4721, allocations: 178.5 kB / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 2.938e-05/0.4721, allocations: 0 / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4721, allocations: 0 / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4721, allocations: 0 / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.4724, allocations: 0.5301 MB / 1.382 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.4726, allocations: 154 kB / 1.382 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4729, allocations: 0.6692 MB / 1.383 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.598e-06/0.4729, allocations: 3.984 kB / 1.383 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.4729, allocations: 11.44 kB / 1.383 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4729, allocations: 3.938 kB / 1.383 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.001601/0.4745, allocations: 148.1 kB / 1.383 GB, free: 7.195 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches