Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 183.5 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009575/0.0009577, allocations: 94.45 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.7e-05, allocations: 12 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7417/0.9679, allocations: 131.6 MB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.9682, allocations: 71.89 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00239/0.9706, allocations: 0.8575 MB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9707, allocations: 0 / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.9707, allocations: 0 / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004787/0.9712, allocations: 358 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.9712, allocations: 8.031 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.9713, allocations: 7.906 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.9714, allocations: 171.8 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.9715, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.9715, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.252e-05/0.9716, allocations: 18.81 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.9717, allocations: 41.27 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.9717, allocations: 4 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.9717, allocations: 3.984 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.9717, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.9723, allocations: 286 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.9723, allocations: 29.08 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.9724, allocations: 15.55 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.9724, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.9724, allocations: 30.56 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.9724, allocations: 3.938 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001594/0.9726, allocations: 52.44 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.9727, allocations: 62.12 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.9727, allocations: 100.8 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.9728, allocations: 25.7 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.9728, allocations: 90.58 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.9728, allocations: 7.891 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.9729, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.973, allocations: 322.5 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.973, allocations: 7.438 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.973, allocations: 6.375 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.9731, allocations: 10.25 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9731, allocations: 0 / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.283e-05/0.9732, allocations: 55.28 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.9732, allocations: 4 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9732, allocations: 4 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.9732, allocations: 0 / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.9734, allocations: 15.98 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9734, allocations: 4 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.9735, allocations: 23.97 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.9735, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.708e-05/0.9736, allocations: 104.9 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.9736, allocations: 6.75 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.9736, allocations: 4.344 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9736, allocations: 0 / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9737, allocations: 4 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9737, allocations: 0 / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9738, allocations: 156.9 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9738, allocations: 3.984 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.9739, allocations: 15.98 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.974, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.974, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.974, allocations: 0.875 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.974, allocations: 4 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.9741, allocations: 146 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.9742, allocations: 88.31 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.9742, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.9743, allocations: 19.92 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.9744, allocations: 11.98 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.9744, allocations: 2.875 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.9745, allocations: 82.59 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9745, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001948/0.9747, allocations: 8 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001558/0.9748, allocations: 103.2 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.9749, allocations: 18.56 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9749, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.975, allocations: 21.25 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.9752, allocations: 4 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.9754, allocations: 74.28 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.9758, allocations: 0.6807 MB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.9758, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.9758, allocations: 11.44 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9758, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of Templates: time 0.002497/0.9783, allocations: 0.5139 MB / 1.018 GB, free: 1.258 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches