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.007415/0.007415, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001805/0.001805, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.496/2.496, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2811, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002027/0.2832, allocations: 0.8071 MB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2846, allocations: 1.152 MB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.2847, allocations: 3.938 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.2848, allocations: 3.938 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.2849, allocations: 27.84 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.2853, allocations: 139.2 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.2856, allocations: 143.7 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2857, allocations: 39.97 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.2858, allocations: 55.89 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2859, allocations: 55.75 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.2859, allocations: 19.98 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.286, allocations: 31.92 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.286, allocations: 15.92 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.2861, allocations: 59.78 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2863, allocations: 155.5 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2863, allocations: 3.938 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2864, allocations: 0 / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2864, allocations: 0 / 1.169 GB, free: 4.062 MB / 0.92 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.0006033/0.287, allocations: 432.8 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.287, allocations: 12.03 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2871, allocations: 8.891 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2872, allocations: 180.2 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2872, allocations: 4.375 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.2872, allocations: 12.38 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2875, allocations: 82.2 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2875, allocations: 192 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.2875, allocations: 7.938 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2875, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2877, allocations: 59.95 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.2883, allocations: 384.5 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2884, allocations: 50.55 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2886, allocations: 36.88 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2886, allocations: 3.984 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.2888, allocations: 87.38 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.2888, allocations: 0 / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004097/0.2892, allocations: 125.6 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2893, allocations: 55.34 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2894, allocations: 137.7 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2894, allocations: 33.7 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.2895, allocations: 100.1 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.2895, allocations: 15.91 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.2896, allocations: 33.7 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2897, allocations: 318.8 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2898, allocations: 51.97 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.29, allocations: 87.27 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2903, allocations: 116.2 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2903, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004377/0.2907, allocations: 199.2 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.2908, allocations: 40.03 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2908, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2908, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.2909, allocations: 12 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2909, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2912, allocations: 51.88 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2912, allocations: 4 kB / 1.172 GB, free: 1.102 MB / 0.92 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.000119/0.2913, allocations: 125.8 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.2913, allocations: 11.89 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.2914, allocations: 8.375 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2914, allocations: 3.984 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2914, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2914, allocations: 3.938 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.2916, allocations: 189.6 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2916, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.2917, allocations: 11.98 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2917, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2917, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2917, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2917, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.292, allocations: 133.3 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.292, allocations: 81.06 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.292, allocations: 16.05 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.2921, allocations: 7.984 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.2922, allocations: 19.86 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2922, allocations: 4 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.2922, allocations: 91.27 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2923, allocations: 0 / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002325/0.2925, allocations: 27.88 kB / 1.173 GB, free: 292 kB / 0.92 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.0001247/0.2926, allocations: 111.2 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.293, allocations: 167.3 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.293, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2932, allocations: 39.92 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.2934, allocations: 12.16 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.2937, allocations: 178.9 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.2939, allocations: 0.6885 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.294, allocations: 4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.294, allocations: 15.44 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.294, allocations: 4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.003897/0.2979, allocations: 1.635 MB / 1.175 GB, free: 13.38 MB / 0.9356 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=480 -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