Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_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_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00208/0.00208, allocations: 198.9 kB / 16.14 MB, free: 6.629 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.825/2.825, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 59.91 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7419, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00372/0.7457, allocations: 2.091 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.7465, allocations: 430.7 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.7466, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.7468, allocations: 35.72 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.7469, allocations: 23.8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.7471, allocations: 83.97 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.7475, allocations: 264.5 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.7478, allocations: 142.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.7479, allocations: 79.58 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.748, allocations: 103.3 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.7481, allocations: 12 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.7481, allocations: 12 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.7482, allocations: 39.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.7483, allocations: 95.34 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.7486, allocations: 364.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7487, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7487, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7487, allocations: 0 / 1.02 GB, free: 15.02 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001093/0.7498, allocations: 0.5419 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7498, allocations: 12.03 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.7499, allocations: 24.66 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.7503, allocations: 272.2 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.7503, allocations: 16.81 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.7503, allocations: 16.38 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.7508, allocations: 250.2 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.7509, allocations: 3.938 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.7509, allocations: 7.984 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7509, allocations: 8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.7514, allocations: 173 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.7527, allocations: 0.8482 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.7532, allocations: 182.6 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.7535, allocations: 96.81 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.7535, allocations: 224 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.7535, allocations: 38.5 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.7535, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006677/0.7542, allocations: 233.2 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.7543, allocations: 77.11 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.7546, allocations: 239.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.7546, allocations: 29.7 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.7547, allocations: 152.1 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.7548, allocations: 39.45 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.7549, allocations: 37.7 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.755, allocations: 326.8 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.7552, allocations: 76.72 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.7555, allocations: 107 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.7559, allocations: 163.3 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7559, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005206/0.7564, allocations: 205.3 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7564, allocations: 7.984 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7564, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7565, allocations: 7.938 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.7566, allocations: 31.98 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7566, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.7568, allocations: 31.91 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.7569, allocations: 8 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.7571, allocations: 156.1 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002025/0.7573, allocations: 94.94 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002759/0.7576, allocations: 143 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.7576, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003758/0.758, allocations: 177.3 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.758, allocations: 8 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.758, allocations: 4.094 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/0.758, allocations: 0 / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.7582, allocations: 47.78 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.7582, allocations: 4 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.7583, allocations: 19.83 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.7583, allocations: 8 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.7584, allocations: 184.3 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.7585, allocations: 15.81 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.7585, allocations: 33.33 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7585, allocations: 0 / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7586, allocations: 0 / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7586, allocations: 0 / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.7589, allocations: 313.4 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7589, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.7591, allocations: 31.92 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7591, allocations: 4 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7591, allocations: 3.938 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.7591, allocations: 3.984 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7591, allocations: 4 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.7598, allocations: 339.2 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.7599, allocations: 92.95 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.7599, allocations: 12 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7601, allocations: 19.97 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.7601, allocations: 3.938 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.7602, allocations: 11.92 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001955/0.7604, allocations: 172.5 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7604, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003584/0.7607, allocations: 67.69 kB / 1.026 GB, free: 8.477 MB / 0.7794 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001321/0.7609, allocations: 107.8 kB / 1.026 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005866/0.7615, allocations: 211.8 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7615, allocations: 4 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.7617, allocations: 72.27 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.7621, allocations: 38.19 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.763, allocations: 471 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7634, allocations: 0.7326 MB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.731e-05/0.7635, allocations: 25.53 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.7636, allocations: 23.36 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7636, allocations: 0 / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.005177/0.7687, allocations: 1.861 MB / 1.03 GB, free: 4.906 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches