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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.8 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.383 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.529/2.529, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.587, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001953/0.589, allocations: 0.8025 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.5903, allocations: 1.155 MB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.5904, allocations: 3.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.5904, allocations: 7.875 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.5905, allocations: 15.84 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.591, allocations: 147.2 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.5911, allocations: 147.8 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.5913, allocations: 31.97 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.5914, allocations: 63.83 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.5915, allocations: 51.81 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.5915, allocations: 16 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.5916, allocations: 28.03 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.5916, allocations: 23.86 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.5917, allocations: 47.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.5919, allocations: 145.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.5919, allocations: 0 / 1.02 GB, free: 15.78 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.000599/0.5925, allocations: 444.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5926, allocations: 12.02 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.5926, allocations: 12.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5928, allocations: 172.3 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5928, allocations: 4.375 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.5928, allocations: 12.38 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.5931, allocations: 90.2 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5931, allocations: 192 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5931, allocations: 7.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5931, allocations: 4 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.5933, allocations: 55.89 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.5939, allocations: 380.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.594, allocations: 62.47 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.5942, allocations: 28.94 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.5942, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.5944, allocations: 87.36 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5944, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004232/0.5949, allocations: 129.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5949, allocations: 51.41 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.595, allocations: 129.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.595, allocations: 33.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.5951, allocations: 104 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.5952, allocations: 19.73 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.5952, allocations: 37.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5953, allocations: 318.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.5955, allocations: 51.91 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.5957, allocations: 79.33 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.596, allocations: 120.2 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.596, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004301/0.5964, allocations: 195.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5965, allocations: 43.48 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.5965, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5965, allocations: 320 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.5966, allocations: 11.98 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5966, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5969, allocations: 47.88 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.5969, allocations: 7.938 kB / 1.023 GB, free: 12.81 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 9.032e-05/0.597, allocations: 125.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.597, allocations: 7.906 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.597, allocations: 8.375 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5971, allocations: 3.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5971, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5971, allocations: 3.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5972, allocations: 185.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5972, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.5973, allocations: 11.98 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5973, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5973, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5973, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5973, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5976, allocations: 132.9 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.5977, allocations: 77.11 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.5977, allocations: 7.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.5978, allocations: 11.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.5978, allocations: 15.92 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5978, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.5979, allocations: 91.27 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5979, allocations: 3.938 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002316/0.5981, allocations: 35.84 kB / 1.023 GB, free: 11.99 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.0001299/0.5983, allocations: 103.3 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.5987, allocations: 175.3 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5987, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5988, allocations: 35.97 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.599, allocations: 9.375 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.5994, allocations: 179.7 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5997, allocations: 0.6924 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.5997, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.5998, allocations: 15.44 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5998, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.003877/0.6036, allocations: 1.632 MB / 1.026 GB, free: 9.102 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=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