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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 217.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 66.98 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003512/0.3496, allocations: 2.064 MB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.3505, allocations: 466.6 kB / 1.357 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3506, allocations: 4 kB / 1.357 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3508, allocations: 43.59 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3509, allocations: 35.67 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3512, allocations: 107.7 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.3515, allocations: 288.4 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3518, allocations: 109.1 kB / 1.357 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3519, allocations: 99.64 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.352, allocations: 103.4 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.3521, allocations: 36 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.3521, allocations: 36 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.3522, allocations: 63.78 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3523, allocations: 115.4 kB / 1.358 GB, free: 4.402 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.3527, allocations: 398.4 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3527, allocations: 0 / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-05/0.3527, allocations: 4 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3528, allocations: 0 / 1.358 GB, free: 4.008 MB / 1.045 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.0008934/0.3537, allocations: 0.4906 MB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3537, allocations: 12.03 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.3538, allocations: 24.8 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.3541, allocations: 210.5 kB / 1.359 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.3542, allocations: 16.81 kB / 1.359 GB, free: 3.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.3542, allocations: 28.31 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.3547, allocations: 238.2 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3547, allocations: 7.922 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3547, allocations: 8 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3547, allocations: 4 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.3552, allocations: 169 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3564, allocations: 0.8059 MB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.3569, allocations: 178.7 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3571, allocations: 84.81 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3571, allocations: 0 / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3572, allocations: 38.56 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.3572, allocations: 0 / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0006502/0.3578, allocations: 241.5 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3579, allocations: 81.05 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3582, allocations: 239.1 kB / 1.361 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3582, allocations: 25.7 kB / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3583, allocations: 156.2 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.3584, allocations: 51.64 kB / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.3584, allocations: 29.7 kB / 1.361 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3586, allocations: 330.8 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3588, allocations: 68.81 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.359, allocations: 117 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.3594, allocations: 155.4 kB / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3594, allocations: 0 / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004798/0.3598, allocations: 209.4 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3599, allocations: 7.984 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3599, allocations: 0 / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3599, allocations: 7.938 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.36, allocations: 36.08 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3601, allocations: 7.938 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3602, allocations: 27.86 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3602, allocations: 8 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002192/0.3604, allocations: 152.8 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001687/0.3606, allocations: 107.4 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002732/0.3609, allocations: 134 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3609, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003573/0.3612, allocations: 177.5 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3612, allocations: 8 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.3612, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.3612, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3614, allocations: 39.84 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3614, allocations: 4 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3615, allocations: 23.88 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3615, allocations: 8.094 kB / 1.363 GB, free: 15.03 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 0.0001327/0.3616, allocations: 184.3 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.3617, allocations: 19.86 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.3618, allocations: 33.33 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3618, allocations: 3.984 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3618, allocations: 0 / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3618, allocations: 3.938 kB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.3621, allocations: 272.6 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3621, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3623, allocations: 27.98 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3623, allocations: 4 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3623, allocations: 7.938 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3623, allocations: 7.922 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3623, allocations: 4 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.363, allocations: 347.7 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.363, allocations: 23.81 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.363, allocations: 7.938 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3632, allocations: 19.97 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3632, allocations: 3.984 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3633, allocations: 4 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001817/0.3634, allocations: 172.5 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3634, allocations: 4.062 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003555/0.3638, allocations: 63.78 kB / 1.364 GB, free: 13.77 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 0.0001408/0.3639, allocations: 103.2 kB / 1.364 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005973/0.3645, allocations: 226.3 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3645, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3647, allocations: 67.91 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3651, allocations: 32.64 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.366, allocations: 427.1 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3664, allocations: 0.7323 MB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.3665, allocations: 23.44 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3665, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Templates: time 0.004944/0.3714, allocations: 2.576 MB / 1.368 GB, free: 9.543 MB / 1.061 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/jenkins1/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: 11.74102457598201]