Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001119/0.001119, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.616/2.616, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9305, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0009975/0.9316, allocations: 0.513 MB / 0.9549 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.9329, allocations: 1.132 MB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.933, allocations: 1.469 kB / 0.956 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.933, allocations: 3.938 kB / 0.956 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.9331, allocations: 13.36 kB / 0.9561 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.9337, allocations: 125.7 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.9338, allocations: 117.4 kB / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.9339, allocations: 32.3 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.934, allocations: 36.91 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.9341, allocations: 44.02 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.9341, allocations: 6.281 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.9342, allocations: 19.44 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.9342, allocations: 15.45 kB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.9343, allocations: 41.64 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.9344, allocations: 102.5 kB / 0.9566 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9344, allocations: 0 / 0.9566 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9345, allocations: 5.25 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.9345, allocations: 0 / 0.9566 GB, free: 6.062 MB / 0.7169 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.0004988/0.935, allocations: 424.7 kB / 0.957 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.935, allocations: 9.219 kB / 0.957 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.9351, allocations: 14.27 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.9352, allocations: 174.1 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.9352, allocations: 8.5 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.9352, allocations: 7.906 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.9355, allocations: 90.2 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9355, allocations: 0 / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9356, allocations: 7.938 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.9356, allocations: 1.969 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.9358, allocations: 72.72 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.9363, allocations: 394.6 kB / 0.9577 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.9364, allocations: 56.08 kB / 0.9578 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.9365, allocations: 35.16 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.9365, allocations: 1.781 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.9367, allocations: 86.58 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.9368, allocations: 4 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003736/0.9371, allocations: 143.8 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.9372, allocations: 51.41 kB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.9372, allocations: 129 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9373, allocations: 29.83 kB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.9373, allocations: 100.2 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.9373, allocations: 18.48 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.9374, allocations: 6.75 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.9374, allocations: 312.2 kB / 0.9587 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.9376, allocations: 63.58 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.9377, allocations: 82.69 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.9379, allocations: 87.39 kB / 0.9589 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9379, allocations: 4.609 kB / 0.9589 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003799/0.9383, allocations: 201.6 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.9383, allocations: 36.83 kB / 0.9591 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9384, allocations: 5.344 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.9384, allocations: 1.312 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.9385, allocations: 12.39 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.9385, allocations: 1.156 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.9387, allocations: 61.25 kB / 0.9592 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.9387, allocations: 5 kB / 0.9592 GB, free: 3.723 MB / 0.7169 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.938e-05/0.9388, allocations: 123.2 kB / 0.9593 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.9388, allocations: 10.58 kB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.9389, allocations: 9.719 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.9389, allocations: 5.266 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9389, allocations: 11.88 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9389, allocations: 1.312 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.939, allocations: 189.3 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.939, allocations: 0 / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.9391, allocations: 20.22 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.9391, allocations: 0 / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.9391, allocations: 1.188 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.9391, allocations: 1.125 kB / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9391, allocations: 0 / 0.9596 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.9394, allocations: 140.5 kB / 0.9597 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.9394, allocations: 87.03 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.9394, allocations: 7.938 kB / 0.9598 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.9395, allocations: 18.86 kB / 0.9598 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.9396, allocations: 11.83 kB / 0.9598 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.9396, allocations: 1.875 kB / 0.9598 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.9396, allocations: 96.77 kB / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9396, allocations: 0 / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002226/0.9398, allocations: 29.5 kB / 0.9599 GB, free: 3.016 MB / 0.7169 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 (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.0001241/0.94, allocations: 102.6 kB / 0.96 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.9403, allocations: 176.8 kB / 0.9602 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9403, allocations: 0 / 0.9602 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.9405, allocations: 50.25 kB / 0.9602 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.9407, allocations: 17.42 kB / 0.9603 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.941, allocations: 197 kB / 0.9605 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.9412, allocations: 0.6957 MB / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.9412, allocations: 6.922 kB / 0.9611 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.9412, allocations: 10.19 kB / 0.9611 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.9412, allocations: 1.375 kB / 0.9611 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.003943/0.9452, allocations: 1.391 MB / 0.9625 GB, free: 1.18 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches