Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 184.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009645, allocations: 99.39 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.761e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.947/1.221, allocations: 150.3 MB / 1.353 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.221, allocations: 91.62 kB / 1.353 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009033/1.23, allocations: 3.542 MB / 1.356 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.231, allocations: 0 / 1.356 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.528e-05/1.231, allocations: 3.844 kB / 1.356 GB, free: 33.82 MB / 0.8386 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.000705/1.231, allocations: 480.7 kB / 1.357 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.231, allocations: 7.844 kB / 1.357 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/1.231, allocations: 27.31 kB / 1.357 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.232, allocations: 265.1 kB / 1.357 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.232, allocations: 3.844 kB / 1.357 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/1.232, allocations: 15.53 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002654/1.232, allocations: 124 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/1.232, allocations: 181.4 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.232, allocations: 0 / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.233, allocations: 4 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.233, allocations: 3.812 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.234, allocations: 0.7506 MB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/1.234, allocations: 151 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/1.234, allocations: 76.5 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/1.234, allocations: 0 / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/1.234, allocations: 102.2 kB / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/1.234, allocations: 0 / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002377/1.234, allocations: 127.9 kB / 1.359 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.235, allocations: 77.11 kB / 1.359 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/1.235, allocations: 183 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/1.235, allocations: 25.7 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/1.235, allocations: 152.1 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/1.235, allocations: 45.64 kB / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/1.235, allocations: 0 / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.235, allocations: 327.3 kB / 1.359 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/1.235, allocations: 43.25 kB / 1.359 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/1.235, allocations: 73.89 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/1.235, allocations: 48.05 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.235, allocations: 0 / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001803/1.235, allocations: 146.9 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/1.236, allocations: 184.7 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.236, allocations: 4.062 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.236, allocations: 0 / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/1.236, allocations: 44.77 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.236, allocations: 0 / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/1.236, allocations: 24.59 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/1.236, allocations: 9.25 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/1.236, allocations: 3.844 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001269/1.236, allocations: 86.39 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/1.236, allocations: 3.969 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/1.236, allocations: 9.141 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/1.236, allocations: 31.39 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/1.236, allocations: 7.797 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/1.236, allocations: 27.64 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/1.236, allocations: 3 kB / 1.36 GB, free: 31.64 MB / 0.8386 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.91e-05/1.236, allocations: 110 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/1.236, allocations: 15.59 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/1.236, allocations: 19.02 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.236, allocations: 0 / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.237, allocations: 0 / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.237, allocations: 9.391 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/1.237, allocations: 474.6 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.237, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/1.237, allocations: 36.84 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.237, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.237, allocations: 13.03 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.237, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.237, allocations: 3.953 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/1.237, allocations: 285.2 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/1.238, allocations: 101.5 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/1.238, allocations: 1.406 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.238, allocations: 19.7 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/1.238, allocations: 10.81 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.238, allocations: 5.453 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001089/1.238, allocations: 143.2 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.238, allocations: 0 / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003271/1.238, allocations: 63.2 kB / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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.0001446/1.238, allocations: 108 kB / 1.361 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000245/1.239, allocations: 164.9 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.239, allocations: 0 / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/1.239, allocations: 55.19 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.239, allocations: 35.73 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/1.24, allocations: 266 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.24, allocations: 0.7501 MB / 1.363 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001193/1.24, allocations: 22.75 kB / 1.363 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/1.24, allocations: 17.92 kB / 1.363 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.24, allocations: 0 / 1.363 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.004266/1.244, allocations: 1.779 MB / 1.364 GB, free: 29.79 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches