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.001091/0.001091, allocations: 111.4 kB / 16.37 MB, free: 5.984 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.001081/0.001081, allocations: 194.6 kB / 17.31 MB, free: 5.602 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.3/1.3, 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.413/2.413, allocations: 442.5 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.12 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002092/0.2789, allocations: 0.8139 MB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2803, allocations: 1.167 MB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.2803, allocations: 4 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.2804, allocations: 3.938 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.2805, allocations: 15.86 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.2809, allocations: 139.3 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2812, allocations: 143.7 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2813, allocations: 47.94 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.2814, allocations: 51.91 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2815, allocations: 59.73 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.2816, allocations: 16 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.2816, allocations: 27.98 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.2817, allocations: 19.92 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.2817, allocations: 51.78 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2819, allocations: 155.6 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.282, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.282, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.282, allocations: 0 / 1.029 GB, free: 15.3 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.0006258/0.2826, allocations: 432.9 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2827, allocations: 15.97 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2827, allocations: 8.844 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2828, allocations: 180.2 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2828, allocations: 8.375 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.2829, allocations: 12.38 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2831, allocations: 78.22 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2831, allocations: 4.125 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2831, allocations: 11.92 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2831, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.2834, allocations: 59.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.2839, allocations: 376.5 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.2841, allocations: 54.48 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.2842, allocations: 32.94 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2842, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.2844, allocations: 87.36 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.2844, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000421/0.2849, allocations: 129.5 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2849, allocations: 51.41 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2851, allocations: 133.6 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.2851, allocations: 37.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.2852, allocations: 99.94 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2852, allocations: 15.89 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2853, allocations: 37.7 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.2854, allocations: 310.8 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2855, allocations: 55.95 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2857, allocations: 79.64 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.286, allocations: 116.2 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.286, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003956/0.2864, allocations: 203.2 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.2864, allocations: 37.64 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2864, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2864, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.2865, allocations: 15.98 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2865, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.2868, allocations: 39.95 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2868, allocations: 8 kB / 1.032 GB, free: 12.35 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.681e-05/0.2869, allocations: 133.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.2869, allocations: 7.906 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.287, allocations: 8.375 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.287, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.287, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.287, allocations: 3.938 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.2871, allocations: 189.6 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2871, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.2872, allocations: 12.08 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2872, allocations: 3.938 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2872, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2872, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2872, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2875, allocations: 132.9 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2875, allocations: 88.94 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2876, allocations: 8 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.2876, allocations: 7.984 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2877, allocations: 11.92 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.2877, allocations: 8 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.2878, allocations: 91.27 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2878, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002253/0.288, allocations: 28.12 kB / 1.033 GB, free: 11.53 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.000141/0.2881, allocations: 111.2 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.2885, allocations: 171.4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2885, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2887, allocations: 39.92 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2889, allocations: 12.11 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.2893, allocations: 167.1 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2895, allocations: 0.6962 MB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.2896, allocations: 7.922 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.2896, allocations: 15.44 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2896, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.004162/0.2938, allocations: 1.632 MB / 1.035 GB, free: 8.633 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 gbode -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