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.0008084/0.0008086, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005988/0.005988, allocations: 169.9 kB / 16.26 MB, free: 6.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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 443.3 MB / 0.7175 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 9.312 kB / 0.8796 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 155.2 MB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001157/0.3497, allocations: 0.5305 MB / 1.032 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3513, allocations: 1.164 MB / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.3513, allocations: 0 / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.3513, allocations: 7.875 kB / 1.033 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.3514, allocations: 11.92 kB / 1.033 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.3519, allocations: 127 kB / 1.033 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.352, allocations: 123.8 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.3522, allocations: 39.95 kB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.3523, allocations: 51.83 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.3524, allocations: 43.81 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3525, allocations: 4 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.3525, allocations: 23.92 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.3526, allocations: 11.92 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3527, allocations: 65.55 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3529, allocations: 143.8 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3529, allocations: 4 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3529, allocations: 3.938 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.353, allocations: 0 / 1.033 GB, free: 2.051 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.0005861/0.3535, allocations: 417 kB / 1.034 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3536, allocations: 8.031 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3536, allocations: 16.84 kB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3538, allocations: 176.2 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3538, allocations: 4.375 kB / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.3538, allocations: 12.38 kB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.3541, allocations: 90.14 kB / 1.034 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.3541, allocations: 4.188 kB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3541, allocations: 3.938 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3541, allocations: 0 / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.3544, allocations: 67.95 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.3549, allocations: 388.5 kB / 1.035 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.3551, allocations: 58.55 kB / 1.035 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3552, allocations: 40.94 kB / 1.035 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3553, allocations: 0 / 1.035 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.3555, allocations: 95.2 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3555, allocations: 0 / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004373/0.356, allocations: 141.6 kB / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.356, allocations: 51.41 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3561, allocations: 129.7 kB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.3562, allocations: 37.7 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.3562, allocations: 96.03 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3563, allocations: 19.8 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.3563, allocations: 17.8 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3565, allocations: 322.8 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3566, allocations: 59.89 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3568, allocations: 87.34 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3571, allocations: 132.2 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3571, allocations: 0 / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004154/0.3575, allocations: 195.3 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.3576, allocations: 48.09 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3576, allocations: 0 / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3576, allocations: 0 / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.3577, allocations: 11.94 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3577, allocations: 7.984 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.358, allocations: 63.73 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.358, allocations: 8 kB / 1.036 GB, free: 15.02 MB / 0.795 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.0001108/0.3581, allocations: 119.4 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.3582, allocations: 11.89 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3582, allocations: 8.375 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3582, allocations: 4.312 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3582, allocations: 4 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3582, allocations: 7.922 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3584, allocations: 189.6 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3584, allocations: 0 / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.3585, allocations: 12 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3585, allocations: 0 / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3585, allocations: 7.922 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3585, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3585, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.3588, allocations: 137 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3588, allocations: 81.02 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3589, allocations: 4 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.3589, allocations: 15.98 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.359, allocations: 15.92 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.359, allocations: 4 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.3591, allocations: 91.7 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3591, allocations: 0 / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002308/0.3593, allocations: 31.91 kB / 1.037 GB, free: 14.2 MB / 0.795 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.0001631/0.3595, allocations: 119.3 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.3599, allocations: 179.2 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3599, allocations: 0 / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3601, allocations: 48.03 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.3603, allocations: 16.31 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3607, allocations: 197 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.361, allocations: 0.6965 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.361, allocations: 7.984 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.3611, allocations: 11.44 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.3611, allocations: 0 / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of Templates: time 0.004142/0.3652, allocations: 1.45 MB / 1.039 GB, free: 11.43 MB / 0.795 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 -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/jenkins/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