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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 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.002192/0.002192, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6646 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8237, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002152/0.8259, allocations: 0.7951 MB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.8272, allocations: 1.16 MB / 0.9515 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.8273, allocations: 5.312 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.8274, allocations: 3.938 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.8275, allocations: 13.23 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.828, allocations: 140.2 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.8281, allocations: 147.4 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.8283, allocations: 38.02 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.8284, allocations: 55.73 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.8285, allocations: 48.17 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.8286, allocations: 18.56 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.8286, allocations: 28.2 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.8287, allocations: 26.84 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.8288, allocations: 50.06 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.829, allocations: 148.7 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.829, allocations: 0 / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.829, allocations: 0 / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.829, allocations: 0 / 0.9522 GB, free: 7.086 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.0006871/0.8297, allocations: 437.6 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8298, allocations: 13.41 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.8298, allocations: 20.66 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.8299, allocations: 175 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.83, allocations: 5.469 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.83, allocations: 16.72 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.8303, allocations: 83.81 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8303, allocations: 1.656 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8303, allocations: 3.938 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.8303, allocations: 1.406 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.8305, allocations: 64.16 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.8311, allocations: 380 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.8313, allocations: 54.03 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.8314, allocations: 31.17 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.8314, allocations: 0 / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.8316, allocations: 86.27 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.8317, allocations: 0 / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004631/0.8321, allocations: 130.1 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.8322, allocations: 52.81 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8323, allocations: 125.7 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.8323, allocations: 35.66 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.8324, allocations: 97.38 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.8324, allocations: 18.66 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.8325, allocations: 44.94 kB / 0.954 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.8326, allocations: 317.6 kB / 0.9543 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.8327, allocations: 49.98 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.8329, allocations: 82.3 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.8332, allocations: 115.5 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8332, allocations: 1.469 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004079/0.8336, allocations: 187.8 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.8336, allocations: 41.28 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8337, allocations: 0 / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8337, allocations: 6.062 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.8338, allocations: 14.36 kB / 0.9548 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8338, allocations: 1.359 kB / 0.9548 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.834, allocations: 38.61 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.8341, allocations: 12.69 kB / 0.9548 GB, free: 4.672 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,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 8.016e-05/0.8342, allocations: 125.4 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.8342, allocations: 14.48 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.8342, allocations: 14.88 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8342, allocations: 0 / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8342, allocations: 1.375 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8342, allocations: 3.938 kB / 0.955 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.8344, allocations: 189.5 kB / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8344, allocations: 0 / 0.9551 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.8344, allocations: 13.42 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8345, allocations: 1.125 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8345, allocations: 5.156 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8345, allocations: 7.938 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8345, allocations: 0.9688 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.8347, allocations: 122.3 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.8348, allocations: 82.42 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.8348, allocations: 1.219 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.8349, allocations: 14.11 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.8349, allocations: 17.27 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.8349, allocations: 2.031 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.026e-05/0.835, allocations: 92.52 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.835, allocations: 0 / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002339/0.8352, allocations: 37.09 kB / 0.9555 GB, free: 3.969 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 (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.0001453/0.8354, allocations: 103.2 kB / 0.9556 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.8358, allocations: 175.3 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8358, allocations: 0 / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.8359, allocations: 37.58 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.8361, allocations: 15.08 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.8366, allocations: 171.2 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.8367, allocations: 0.6935 MB / 0.9567 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.8368, allocations: 7.859 kB / 0.9567 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.8368, allocations: 10.91 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of SimCode: time 1.072e-06/0.8368, allocations: 4 kB / 0.9567 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of Templates: time 0.00451/0.8413, allocations: 1.636 MB / 0.9583 GB, free: 2.027 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