Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 180.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 8.188 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.754, allocations: 153.8 MB / 1.024 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001268/0.7553, allocations: 0.5246 MB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.7572, allocations: 1.156 MB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.7572, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.7573, allocations: 3.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.7574, allocations: 7.875 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.758, allocations: 119.5 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.7582, allocations: 139.6 kB / 1.026 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.7583, allocations: 39.97 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.7585, allocations: 47.83 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.7586, allocations: 39.83 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.7586, allocations: 4 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.7587, allocations: 19.98 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.7588, allocations: 11.92 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.7589, allocations: 73.53 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.7591, allocations: 101.7 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7591, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7591, allocations: 8 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.7591, allocations: 0 / 1.026 GB, free: 13.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007204/0.7598, allocations: 420.9 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.7599, allocations: 8.031 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.76, allocations: 12.84 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.7602, allocations: 180.2 kB / 1.027 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.7602, allocations: 12.38 kB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.7602, allocations: 8.375 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.7605, allocations: 86.22 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7606, allocations: 192 / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.7606, allocations: 3.938 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7606, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.7608, allocations: 79.94 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.7615, allocations: 380.5 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.7617, allocations: 58.5 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.7618, allocations: 32.92 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.7619, allocations: 8 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.7621, allocations: 91.27 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.7621, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004859/0.7626, allocations: 141.6 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.7627, allocations: 51.41 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.7628, allocations: 137.6 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.7629, allocations: 29.7 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.763, allocations: 108 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.763, allocations: 15.75 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.7631, allocations: 25.7 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7632, allocations: 318.8 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.7634, allocations: 55.97 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.7636, allocations: 95.31 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.7639, allocations: 128.2 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7639, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004561/0.7644, allocations: 199.2 kB / 1.029 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.7644, allocations: 33.7 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.7644, allocations: 4.062 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7645, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.7646, allocations: 15.98 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7646, allocations: 0 / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.7649, allocations: 66.14 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7649, allocations: 11.98 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.765, allocations: 119.8 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.765, allocations: 4 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.7651, allocations: 8.375 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7651, allocations: 4 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7651, allocations: 0 / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7651, allocations: 7.938 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.7653, allocations: 197.5 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7653, allocations: 320 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.7654, allocations: 11.98 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7654, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7654, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7654, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7654, allocations: 4 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.7658, allocations: 133 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.7658, allocations: 88.95 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.7658, allocations: 0 / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.7659, allocations: 23.98 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.766, allocations: 15.91 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.766, allocations: 0 / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.7661, allocations: 95.27 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7661, allocations: 0 / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002488/0.7663, allocations: 27.94 kB / 1.029 GB, free: 9.809 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00017/0.7665, allocations: 107.4 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.7669, allocations: 187.2 kB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7669, allocations: 0 / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.7671, allocations: 40.11 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.7673, allocations: 24.02 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.7678, allocations: 230.6 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.7681, allocations: 0.6965 MB / 1.031 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.7682, allocations: 7.438 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.7682, allocations: 7.938 kB / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.003586/0.7718, allocations: 1.328 MB / 1.032 GB, free: 7.133 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches