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.001395/0.001395, allocations: 108 kB / 15.61 MB, free: 152 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.00142/0.00142, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.72/2.72, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.91 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5882, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00237/0.5906, allocations: 0.812 MB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.5925, allocations: 1.159 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.5926, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.5927, allocations: 7.875 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.5928, allocations: 11.88 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.5934, allocations: 136.8 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.5937, allocations: 151.7 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.5939, allocations: 39.97 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.594, allocations: 55.83 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.5942, allocations: 55.81 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.5943, allocations: 12 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.5944, allocations: 31.98 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.5944, allocations: 20.05 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5945, allocations: 55.78 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.5948, allocations: 141.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.5949, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5949, allocations: 3.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5949, 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.0008273/0.5957, allocations: 442.1 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5958, allocations: 8.031 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.5958, allocations: 12.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.596, allocations: 172.3 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.596, allocations: 12.36 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.5961, allocations: 8.375 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.5964, allocations: 82.22 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5964, allocations: 8.125 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5965, allocations: 11.88 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5965, allocations: 3.984 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.5968, allocations: 63.94 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.5975, allocations: 388.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.5978, allocations: 46.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5979, allocations: 28.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.598, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.5983, allocations: 87.36 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.5983, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005952/0.5989, allocations: 125.7 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.5989, allocations: 55.41 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5991, allocations: 125.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.5991, allocations: 29.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.5992, allocations: 108 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.5993, allocations: 15.75 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5994, allocations: 37.69 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5996, allocations: 318.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5998, allocations: 52.02 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.6001, allocations: 91.33 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.6004, allocations: 120.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6004, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006021/0.601, allocations: 195.2 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.6011, allocations: 37.69 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6011, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6011, allocations: 4 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6013, allocations: 11.92 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6013, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.6016, allocations: 43.89 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.6017, allocations: 8 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 0.000232/0.6019, allocations: 121.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.6019, allocations: 7.906 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.602, allocations: 8.375 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.602, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.602, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.602, allocations: 3.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.6023, allocations: 189.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6023, allocations: 96 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.6024, allocations: 15.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6024, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6024, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6024, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6024, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.6028, allocations: 128.9 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.6029, allocations: 81.11 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.6029, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.603, allocations: 15.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.6031, allocations: 11.92 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.6031, allocations: 128 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.137e-05/0.6032, allocations: 99.27 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6032, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003844/0.6036, allocations: 27.84 kB / 1.023 GB, free: 12 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.0001842/0.6038, allocations: 113 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.6044, allocations: 179.3 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6044, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.6046, allocations: 35.92 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.0002888/0.6049, allocations: 11.98 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.6054, allocations: 171.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.6057, allocations: 0.6885 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.6058, allocations: 15.97 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.6059, allocations: 11.44 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6059, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.00653/0.6124, allocations: 1.632 MB / 1.026 GB, free: 9.094 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=400 -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