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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 111 kB / 17.08 MB, free: 5.82 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.001539/0.001539, allocations: 194.2 kB / 20.03 MB, free: 2.949 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.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.1 MB / 0.7177 GB, free: 4.75 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003497/0.3877, allocations: 2.041 MB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000856/0.3886, allocations: 450.4 kB / 1.178 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3887, allocations: 4 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.3889, allocations: 43.53 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.389, allocations: 35.67 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3893, allocations: 107.8 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3896, allocations: 284.5 kB / 1.179 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.3899, allocations: 152.5 kB / 1.179 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.39, allocations: 99.58 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.3902, allocations: 103.5 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.3902, allocations: 36 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.3903, allocations: 32 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3903, allocations: 63.77 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3905, allocations: 127.3 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.3909, allocations: 386.5 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3909, allocations: 3.938 kB / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3909, allocations: 0 / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3909, allocations: 0 / 1.18 GB, free: 1.934 MB / 0.92 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.0009377/0.3919, allocations: 0.5533 MB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3919, allocations: 8.031 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.392, allocations: 32.78 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.3925, allocations: 281.2 kB / 1.181 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3925, allocations: 12.81 kB / 1.181 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.3925, allocations: 24.33 kB / 1.181 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.393, allocations: 238.3 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.393, allocations: 3.938 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3931, allocations: 4 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3931, allocations: 4 kB / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.3935, allocations: 181 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3948, allocations: 0.8291 MB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3953, allocations: 186.6 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3955, allocations: 92.81 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3956, allocations: 0 / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3956, allocations: 30.56 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/0.3956, allocations: 4 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006762/0.3963, allocations: 229.6 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3964, allocations: 84.98 kB / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3966, allocations: 243.1 kB / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3967, allocations: 29.7 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3968, allocations: 156.3 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.3969, allocations: 47.62 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.3969, allocations: 33.7 kB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3971, allocations: 326.8 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3973, allocations: 72.81 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3975, allocations: 105.1 kB / 1.183 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3979, allocations: 166.6 kB / 1.184 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3979, allocations: 0 / 1.184 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004585/0.3984, allocations: 205.4 kB / 1.184 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3984, allocations: 4 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3984, allocations: 0 / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3985, allocations: 11.92 kB / 1.184 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3986, allocations: 36.02 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3987, allocations: 4 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3988, allocations: 31.86 kB / 1.184 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3988, allocations: 4 kB / 1.184 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002197/0.399, allocations: 156.1 kB / 1.184 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001738/0.3992, allocations: 97.12 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002737/0.3995, allocations: 135.3 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.3995, allocations: 0 / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003582/0.3999, allocations: 185.5 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.3999, allocations: 6.656 kB / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.3999, allocations: 4 kB / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/0.3999, allocations: 0 / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4001, allocations: 35.91 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4001, allocations: 7.938 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4002, allocations: 31.95 kB / 1.184 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4002, allocations: 4 kB / 1.184 GB, free: 12.75 MB / 0.9356 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.000133/0.4003, allocations: 188.2 kB / 1.185 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.4004, allocations: 19.86 kB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.4005, allocations: 25.33 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4005, allocations: 8 kB / 1.185 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4005, allocations: 0 / 1.185 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4005, allocations: 0 / 1.185 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.4008, allocations: 297.5 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4009, allocations: 4 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.401, allocations: 27.98 kB / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.401, allocations: 0 / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.401, allocations: 7.938 kB / 1.185 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4011, allocations: 3.984 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4011, allocations: 3.938 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.4017, allocations: 355.5 kB / 1.185 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.4018, allocations: 96.98 kB / 1.185 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4019, allocations: 7.938 kB / 1.185 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.402, allocations: 15.97 kB / 1.185 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4021, allocations: 4 kB / 1.185 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4021, allocations: 8 kB / 1.185 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001802/0.4023, allocations: 176.5 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4023, allocations: 0 / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003439/0.4026, allocations: 67.8 kB / 1.186 GB, free: 11.38 MB / 0.9356 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.0001371/0.4028, allocations: 99.19 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006108/0.4034, allocations: 227.9 kB / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4034, allocations: 0 / 1.186 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.4036, allocations: 72 kB / 1.186 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.404, allocations: 40.59 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.4048, allocations: 434.5 kB / 1.187 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.4052, allocations: 0.7402 MB / 1.187 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.4053, allocations: 15.44 kB / 1.187 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.4053, allocations: 0 / 1.187 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of Templates: time 0.005032/0.4103, allocations: 2.563 MB / 1.19 GB, free: 7.141 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.817246824037284]