Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002838/0.002838, allocations: 189.2 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 2.664 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.994/2.994, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.88 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.856/0.8581, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002535/0.8606, allocations: 2.059 MB / 1.309 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.8613, allocations: 451.3 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.8614, allocations: 5.406 kB / 1.309 GB, free: 32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.8615, allocations: 34.28 kB / 1.309 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.8616, allocations: 40.47 kB / 1.309 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.8619, allocations: 111.5 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.8621, allocations: 292.6 kB / 1.31 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.8623, allocations: 101.8 kB / 1.31 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.8624, allocations: 102 kB / 1.31 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.8625, allocations: 104.6 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.8625, allocations: 36.97 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.049e-05/0.8625, allocations: 34.72 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.8626, allocations: 56.7 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.8626, allocations: 125.9 kB / 1.31 GB, free: 31.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.8629, allocations: 391.5 kB / 1.311 GB, free: 31.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.8629, allocations: 4 kB / 1.311 GB, free: 31.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8629, allocations: 0 / 1.311 GB, free: 31.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.863, allocations: 0 / 1.311 GB, free: 31.21 MB / 1.061 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.0007584/0.8637, allocations: 0.5016 MB / 1.311 GB, free: 30.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.8637, allocations: 8.438 kB / 1.311 GB, free: 30.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.8638, allocations: 28.67 kB / 1.311 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.8641, allocations: 216.3 kB / 1.311 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.8641, allocations: 17.41 kB / 1.311 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.8641, allocations: 15.88 kB / 1.311 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.8646, allocations: 236.8 kB / 1.312 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8646, allocations: 3.938 kB / 1.312 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.8646, allocations: 15.12 kB / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.8646, allocations: 3 kB / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.865, allocations: 173.6 kB / 1.312 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.8659, allocations: 0.8015 MB / 1.313 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.8664, allocations: 172.8 kB / 1.313 GB, free: 29.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.8666, allocations: 91.91 kB / 1.313 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.8666, allocations: 2.906 kB / 1.313 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.8667, allocations: 34.5 kB / 1.313 GB, free: 29.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.8667, allocations: 0 / 1.313 GB, free: 29.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006076/0.8673, allocations: 226.8 kB / 1.313 GB, free: 29.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.8673, allocations: 81.11 kB / 1.313 GB, free: 29.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.8675, allocations: 239.2 kB / 1.313 GB, free: 29.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.8675, allocations: 29.7 kB / 1.313 GB, free: 29.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.8676, allocations: 158.3 kB / 1.314 GB, free: 29.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.8676, allocations: 52.08 kB / 1.314 GB, free: 29.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.8676, allocations: 32.53 kB / 1.314 GB, free: 29.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.8677, allocations: 330.5 kB / 1.314 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.8679, allocations: 73.17 kB / 1.314 GB, free: 28.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.8681, allocations: 110.3 kB / 1.314 GB, free: 28.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.8684, allocations: 163.3 kB / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8684, allocations: 0 / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000408/0.8688, allocations: 209.7 kB / 1.314 GB, free: 28.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.8688, allocations: 5.094 kB / 1.314 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8688, allocations: 6.5 kB / 1.314 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8688, allocations: 7.125 kB / 1.314 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.869, allocations: 39.45 kB / 1.314 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.869, allocations: 3.938 kB / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.8691, allocations: 24.27 kB / 1.315 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8692, allocations: 12.66 kB / 1.315 GB, free: 28.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001684/0.8693, allocations: 152.4 kB / 1.315 GB, free: 28.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001311/0.8695, allocations: 92.69 kB / 1.315 GB, free: 28.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000238/0.8697, allocations: 135.2 kB / 1.315 GB, free: 28.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.8697, allocations: 0 / 1.315 GB, free: 28.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003176/0.87, allocations: 184.3 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.87, allocations: 6.188 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.87, allocations: 0 / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.87, allocations: 6.938 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.8701, allocations: 38.02 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.8701, allocations: 2.844 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.8703, allocations: 15.95 kB / 1.315 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.8703, allocations: 9.781 kB / 1.315 GB, free: 28.07 MB / 1.061 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 6.715e-05/0.8703, allocations: 191.4 kB / 1.315 GB, free: 27.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.8704, allocations: 24.8 kB / 1.315 GB, free: 27.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.8704, allocations: 27.48 kB / 1.315 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8704, allocations: 2.906 kB / 1.315 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.8704, allocations: 0 / 1.315 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8704, allocations: 3.375 kB / 1.315 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.8707, allocations: 267.3 kB / 1.316 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8707, allocations: 0 / 1.316 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.8708, allocations: 33 kB / 1.316 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8708, allocations: 3.984 kB / 1.316 GB, free: 27.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8709, allocations: 6.984 kB / 1.316 GB, free: 27.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8709, allocations: 2.875 kB / 1.316 GB, free: 27.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8709, allocations: 4 kB / 1.316 GB, free: 27.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.8714, allocations: 348.2 kB / 1.316 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.8715, allocations: 25.33 kB / 1.316 GB, free: 27.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.8715, allocations: 10.88 kB / 1.316 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8716, allocations: 13 kB / 1.316 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.8717, allocations: 12.28 kB / 1.316 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.8717, allocations: 4 kB / 1.316 GB, free: 27.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001318/0.8718, allocations: 170 kB / 1.316 GB, free: 27.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8718, allocations: 0 / 1.316 GB, free: 27.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003472/0.8722, allocations: 68.47 kB / 1.316 GB, free: 27.24 MB / 1.061 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 7.917e-05/0.8722, allocations: 100.1 kB / 1.316 GB, free: 27.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.8728, allocations: 211.3 kB / 1.317 GB, free: 27.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8728, allocations: 0 / 1.317 GB, free: 27.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.8729, allocations: 67.19 kB / 1.317 GB, free: 27.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.8733, allocations: 59.52 kB / 1.317 GB, free: 27.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.8739, allocations: 402.1 kB / 1.317 GB, free: 26.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.8741, allocations: 0.7442 MB / 1.318 GB, free: 26.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.367e-05/0.8741, allocations: 20.91 kB / 1.318 GB, free: 26.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.8742, allocations: 23.59 kB / 1.318 GB, free: 26.05 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.8742, allocations: 0 / 1.318 GB, free: 26.05 MB / 1.061 GB Notification: Performance of Templates: time 0.004803/0.879, allocations: 2.102 MB / 1.32 GB, free: 25.88 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.101819604635239]