Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001553/0.001553, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001952/0.001952, allocations: 188.8 kB / 22.23 MB, free: 5.133 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.363/3.363, allocations: 495.7 MB / 0.7831 GB, free: 33.53 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-master/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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 70.28 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 173.6 MB / 1.307 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003511/0.3469, allocations: 2.072 MB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000964/0.3479, allocations: 446.7 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.348, allocations: 7.938 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.3482, allocations: 39.59 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3483, allocations: 43.66 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.3487, allocations: 111.7 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.349, allocations: 284.4 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.3493, allocations: 105.1 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3494, allocations: 103.6 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3496, allocations: 99.48 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.3496, allocations: 36 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.3496, allocations: 32 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3497, allocations: 59.84 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3498, allocations: 131.3 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.3503, allocations: 386.5 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3503, allocations: 7.984 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3503, allocations: 3.938 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3503, allocations: 0 / 1.311 GB, free: 14.03 MB / 1.014 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.0009161/0.3512, allocations: 0.4906 MB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3513, allocations: 8.031 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.3513, allocations: 24.8 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3517, allocations: 219.4 kB / 1.312 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3517, allocations: 16.81 kB / 1.312 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.3518, allocations: 16.38 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.3524, allocations: 242.2 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3524, allocations: 7.938 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3524, allocations: 4 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3524, allocations: 4 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.3529, allocations: 169 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3542, allocations: 0.8137 MB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.3547, allocations: 174.7 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3549, allocations: 96.75 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3549, allocations: 3.938 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.355, allocations: 34.56 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.355, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0006991/0.3557, allocations: 225.4 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.3557, allocations: 77.33 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3561, allocations: 243.1 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3561, allocations: 29.7 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3562, allocations: 152.2 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3563, allocations: 47.64 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.3564, allocations: 33.7 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3565, allocations: 330.8 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3567, allocations: 72.75 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.357, allocations: 105.1 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.3574, allocations: 162.5 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3574, allocations: 0 / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005043/0.3579, allocations: 209.4 kB / 1.315 GB, free: 9.828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.358, allocations: 4 kB / 1.315 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.358, allocations: 8 kB / 1.315 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.358, allocations: 7.922 kB / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3582, allocations: 39.92 kB / 1.315 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3582, allocations: 0 / 1.315 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3584, allocations: 31.95 kB / 1.315 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3584, allocations: 4 kB / 1.315 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002281/0.3586, allocations: 156.1 kB / 1.315 GB, free: 9.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001837/0.3588, allocations: 89.12 kB / 1.315 GB, free: 9.473 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002848/0.3591, allocations: 139.4 kB / 1.315 GB, free: 9.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.3591, allocations: 3.938 kB / 1.315 GB, free: 9.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003748/0.3594, allocations: 184.1 kB / 1.315 GB, free: 9.137 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.3595, allocations: 14.28 kB / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.3595, allocations: 0 / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.3595, allocations: 4 kB / 1.315 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3596, allocations: 39.84 kB / 1.315 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3596, allocations: 3.984 kB / 1.315 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3597, allocations: 27.86 kB / 1.315 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3597, allocations: 4 kB / 1.315 GB, free: 9.047 MB / 1.014 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.0001346/0.3599, allocations: 188.2 kB / 1.316 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.36, allocations: 23.86 kB / 1.316 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.36, allocations: 25.33 kB / 1.316 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.36, allocations: 0 / 1.316 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.36, allocations: 0 / 1.316 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.36, allocations: 0 / 1.316 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3605, allocations: 276.6 kB / 1.316 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3605, allocations: 0 / 1.316 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3606, allocations: 27.98 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3606, allocations: 0 / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3606, allocations: 3.938 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3606, allocations: 4 kB / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3606, allocations: 0 / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.3614, allocations: 355.2 kB / 1.316 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.3614, allocations: 27.89 kB / 1.316 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.3614, allocations: 7.938 kB / 1.316 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3616, allocations: 11.98 kB / 1.316 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3616, allocations: 15.97 kB / 1.316 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3616, allocations: 0 / 1.316 GB, free: 8.035 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001816/0.3618, allocations: 168.5 kB / 1.316 GB, free: 7.871 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3618, allocations: 0 / 1.316 GB, free: 7.871 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003636/0.3622, allocations: 67.78 kB / 1.317 GB, free: 7.805 MB / 1.014 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.0001315/0.3623, allocations: 104 kB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006208/0.3629, allocations: 211.8 kB / 1.317 GB, free: 7.484 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3629, allocations: 4 kB / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.3632, allocations: 64.28 kB / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3636, allocations: 44.58 kB / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.3646, allocations: 397.2 kB / 1.317 GB, free: 6.957 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.3651, allocations: 0.7363 MB / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.613e-05/0.3652, allocations: 25.47 kB / 1.318 GB, free: 6.172 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.3653, allocations: 19.42 kB / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.3653, allocations: 0 / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of Templates: time 0.006317/0.3716, allocations: 2.115 MB / 1.32 GB, free: 4.059 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.344629012979567]