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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001884/0.001884, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002375/0.002375, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.635, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002264/0.6374, allocations: 0.8672 MB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.639, allocations: 1.159 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.6391, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.6391, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.6392, allocations: 11.92 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.6397, allocations: 131.4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.6399, allocations: 123.8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.6401, allocations: 35.97 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.6402, allocations: 55.77 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.6403, allocations: 47.81 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.6404, allocations: 8 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.6405, allocations: 23.98 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.6405, allocations: 11.92 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.6406, allocations: 51.83 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.6408, allocations: 141.6 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6408, allocations: 3.938 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6409, allocations: 3.938 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6409, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 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.0008696/0.6417, allocations: 440.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6418, allocations: 8.031 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.6419, allocations: 12.84 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.6421, allocations: 180.2 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.6421, allocations: 4.375 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.6422, allocations: 12.38 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.6425, allocations: 86.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6425, allocations: 4.188 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.6425, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.6425, allocations: 3.984 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.6428, allocations: 55.95 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.6435, allocations: 380.5 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.6437, allocations: 54.55 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.6439, allocations: 32.92 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.6439, allocations: 3.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.6442, allocations: 83.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.6442, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004734/0.6447, allocations: 125.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.6447, allocations: 51.41 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.6449, allocations: 133.6 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.6449, allocations: 37.64 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.645, allocations: 104 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.645, allocations: 15.73 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.6451, allocations: 41.69 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6453, allocations: 322.8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.6454, allocations: 51.95 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.6457, allocations: 79.34 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.6459, allocations: 120.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6459, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004317/0.6464, allocations: 195.3 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.6464, allocations: 37.69 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6464, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6465, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.6466, allocations: 7.984 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6466, allocations: 4.312 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6468, allocations: 43.92 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6468, allocations: 8 kB / 1.022 GB, free: 13.16 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.0001097/0.647, allocations: 129.5 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.647, allocations: 7.891 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.647, allocations: 12.38 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.647, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.647, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.647, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.6472, allocations: 185.6 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6472, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.6473, allocations: 12 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6473, allocations: 3.984 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6473, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6473, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6473, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.6476, allocations: 128.9 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.6477, allocations: 85.02 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.6477, allocations: 0 / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.6478, allocations: 11.98 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.6479, allocations: 15.92 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6479, allocations: 4 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.648, allocations: 95.2 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.255e-06/0.648, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000232/0.6482, allocations: 32 kB / 1.023 GB, free: 12.34 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.0001897/0.6484, allocations: 115.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.6488, allocations: 163.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.6489, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.649, allocations: 43.91 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.6492, allocations: 7.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.6496, allocations: 195 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.65, allocations: 0.6887 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.65, allocations: 15.97 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.6501, allocations: 15.44 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.6501, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.004571/0.6547, allocations: 1.465 MB / 1.025 GB, free: 9.59 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=400 -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/jenkins/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