Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 182.8 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001025, allocations: 82.38 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.231, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4159, allocations: 134.7 MB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.4163, allocations: 91.92 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.427, allocations: 4.67 MB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/0.427, allocations: 0 / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.427, allocations: 4 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007763/0.4278, allocations: 0.5454 MB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4279, allocations: 8.031 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.4279, allocations: 23.72 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.4283, allocations: 274.5 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4284, allocations: 16.44 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.4284, allocations: 16 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.4289, allocations: 266.6 kB / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4289, allocations: 0 / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.4289, allocations: 11.94 kB / 1.037 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.4289, allocations: 8 kB / 1.037 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.4294, allocations: 203.8 kB / 1.038 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.4306, allocations: 0.9808 MB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.4312, allocations: 230.8 kB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4312, allocations: 4 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4313, allocations: 34.56 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4313, allocations: 0 / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0006781/0.432, allocations: 288.1 kB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.432, allocations: 89.11 kB / 1.039 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.4323, allocations: 229.7 kB / 1.039 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4323, allocations: 29.7 kB / 1.039 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4324, allocations: 152.1 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4325, allocations: 55.28 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.4325, allocations: 0 / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4326, allocations: 334.8 kB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4328, allocations: 79.95 kB / 1.04 GB, free: 176 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.433, allocations: 107.4 kB / 1.04 GB, free: 56 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.4332, allocations: 85.31 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4332, allocations: 0 / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004498/0.4337, allocations: 229.3 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.4338, allocations: 190 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4338, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4338, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.434, allocations: 43.91 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.434, allocations: 0 / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.4342, allocations: 31.89 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4342, allocations: 8 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.4342, allocations: 6.031 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003057/0.4345, allocations: 154.5 kB / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.4345, allocations: 0 / 1.041 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-06/0.4345, allocations: 3.938 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4347, allocations: 39.98 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4347, allocations: 11.88 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4348, allocations: 27.83 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4348, allocations: 8.031 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.435, allocations: 217.1 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.435, allocations: 23.72 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.4351, allocations: 25.83 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4351, allocations: 0 / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4351, allocations: 3.953 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4351, allocations: 0 / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.436, allocations: 0.6085 MB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.436, allocations: 0 / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4361, allocations: 36.02 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4362, allocations: 0 / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4362, allocations: 7.938 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4362, allocations: 4 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4362, allocations: 0 / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.4369, allocations: 425.7 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.437, allocations: 100.8 kB / 1.042 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.437, allocations: 7.953 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4371, allocations: 19.98 kB / 1.042 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4372, allocations: 12.05 kB / 1.042 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4372, allocations: 4 kB / 1.042 GB, free: 13.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001712/0.4374, allocations: 190 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4374, allocations: 0 / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003531/0.4378, allocations: 75.69 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.4379, allocations: 107.2 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005835/0.4385, allocations: 259.9 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4385, allocations: 0 / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.4387, allocations: 94.64 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.4391, allocations: 48.59 kB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.4399, allocations: 0.491 MB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4403, allocations: 0.752 MB / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.4404, allocations: 25.94 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4404, allocations: 19.44 kB / 1.044 GB, free: 11.52 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.4404, allocations: 0 / 1.044 GB, free: 11.52 MB / 0.698 GB Notification: Performance of Templates: time 0.004912/0.4453, allocations: 2.113 MB / 1.046 GB, free: 9.434 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches