Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001173/0.001173, allocations: 176 kB / 0.4902 GB, free: 2.258 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.587/1.587, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001039/0.001039, allocations: 103.9 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 11.81 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.287, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4681, allocations: 149.1 MB / 1.375 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4684, allocations: 71.95 kB / 1.375 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005779/0.469, allocations: 364.8 kB / 1.375 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.424e-06/0.469, allocations: 0 / 1.375 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.469, allocations: 0 / 1.375 GB, free: 3.961 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002814/0.4693, allocations: 316.2 kB / 1.376 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4694, allocations: 8.031 kB / 1.376 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.4694, allocations: 0 / 1.376 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4695, allocations: 163 kB / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4695, allocations: 0 / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4696, allocations: 7.938 kB / 1.376 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.4697, allocations: 33.62 kB / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.4697, allocations: 0 / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4697, allocations: 4 kB / 1.376 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4697, allocations: 0 / 1.376 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.4697, allocations: 8 kB / 1.376 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.4701, allocations: 383.5 kB / 1.376 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4702, allocations: 169.9 kB / 1.376 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.4702, allocations: 79.28 kB / 1.376 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.4703, allocations: 105.8 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.4703, allocations: 0 / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.77e-05/0.4704, allocations: 25.7 kB / 1.377 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.4705, allocations: 130.7 kB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.4706, allocations: 89 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.4706, allocations: 25.7 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.4706, allocations: 92.2 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.4706, allocations: 0 / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.4706, allocations: 0 / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4708, allocations: 318.8 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.4708, allocations: 0 / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.4708, allocations: 1.594 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.4708, allocations: 75.28 kB / 1.377 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-05/0.4709, allocations: 75.28 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.921e-05/0.4709, allocations: 33.7 kB / 1.377 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.471, allocations: 83.22 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.471, allocations: 79.22 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-05/0.4711, allocations: 158.6 kB / 1.378 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.4711, allocations: 79.28 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.263e-05/0.4712, allocations: 158.5 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.4713, allocations: 75.28 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.4713, allocations: 91.22 kB / 1.378 GB, free: 0.9336 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 (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.0001136/0.4715, allocations: 261.2 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.4715, allocations: 105 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.4716, allocations: 115.9 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.4717, allocations: 184.2 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.276e-05/0.4718, allocations: 180.3 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-05/0.4718, allocations: 184.1 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.4721, allocations: 409.2 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.4721, allocations: 104.9 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.4721, allocations: 101 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.905e-05/0.4722, allocations: 180.3 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.4723, allocations: 184.2 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.4723, allocations: 180.2 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.628e-05/0.4724, allocations: 184.2 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.4725, allocations: 300.2 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.4726, allocations: 193.9 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.4727, allocations: 192.3 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.4728, allocations: 104.9 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.4729, allocations: 176.3 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.4729, allocations: 101 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.473, allocations: 83.28 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/0.473, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002489/0.4732, allocations: 0 / 1.381 GB, free: 13.27 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.0001626/0.4734, allocations: 182.5 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.147e-05/0.4734, allocations: 4 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4734, allocations: 0 / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.4735, allocations: 0 / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4738, allocations: 0.5264 MB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.474, allocations: 146.3 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4743, allocations: 0.677 MB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.261e-05/0.4743, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4743, allocations: 11.38 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of SimCode: time 1.793e-06/0.4743, allocations: 4 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.001853/0.4762, allocations: 160 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches