Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001633/0.001632, allocations: 117 kB / 16.37 MB, free: 6.012 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.001974/0.001974, allocations: 192.3 kB / 17.31 MB, free: 5.613 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 64.41 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3341, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002122/0.3363, allocations: 0.8178 MB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3376, allocations: 1.163 MB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.3377, allocations: 4 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3378, allocations: 3.938 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.3379, allocations: 7.875 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3383, allocations: 147.2 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3385, allocations: 143.7 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3387, allocations: 39.97 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3388, allocations: 55.84 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.961e-05/0.3389, allocations: 63.78 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.3389, allocations: 16 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.339, allocations: 23.98 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.339, allocations: 19.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.3391, allocations: 51.77 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3393, allocations: 151.6 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3393, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3393, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3394, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 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.0006138/0.34, allocations: 437.9 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.34, allocations: 11.97 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3401, allocations: 12.84 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3402, allocations: 180.2 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3402, allocations: 8.375 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3402, allocations: 12.38 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3405, allocations: 86.2 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3405, allocations: 4.172 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3405, allocations: 7.938 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3405, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3407, allocations: 55.95 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.3413, allocations: 384.5 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3414, allocations: 62.48 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.3415, allocations: 24.94 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3415, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.3417, allocations: 87.36 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3417, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003965/0.3421, allocations: 129.5 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3422, allocations: 51.41 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3423, allocations: 137.6 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3423, allocations: 33.7 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.3424, allocations: 99.95 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.3424, allocations: 11.89 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.3425, allocations: 37.7 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3426, allocations: 318.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3428, allocations: 47.97 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3429, allocations: 87.38 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3432, allocations: 112.2 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3432, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003899/0.3436, allocations: 195.3 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.3437, allocations: 41.64 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3437, allocations: 3.984 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3437, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.3438, allocations: 11.98 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3438, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.344, allocations: 39.89 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.344, allocations: 12.05 kB / 1.032 GB, free: 12.41 MB / 0.8106 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 9.313e-05/0.3441, allocations: 129.7 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.3441, allocations: 7.906 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3442, allocations: 8.375 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3442, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3442, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3442, allocations: 7.938 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3443, allocations: 181.6 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3444, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.3444, allocations: 12.3 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3444, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3444, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3445, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3445, allocations: 4.094 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.3447, allocations: 132.8 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3448, allocations: 85.02 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3448, allocations: 4 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.3448, allocations: 7.984 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.3449, allocations: 15.92 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3449, allocations: 7.984 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.345, allocations: 87.28 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002157/0.3452, allocations: 36.11 kB / 1.033 GB, free: 11.59 MB / 0.8106 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.0001416/0.3454, allocations: 103.2 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.3457, allocations: 167.3 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3457, allocations: 4 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3458, allocations: 35.92 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.346, allocations: 16.11 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3464, allocations: 173.9 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3467, allocations: 0.7 MB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3467, allocations: 11.97 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.3467, allocations: 7.438 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3467, allocations: 4 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.003964/0.3507, allocations: 1.622 MB / 1.035 GB, free: 8.699 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches