Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.001759/0.001759, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002163/0.002163, allocations: 212.6 kB / 22.99 MB, free: 4.941 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.335/3.335, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [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.002816/0.002816, allocations: 70.03 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3439, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003748/0.3476, allocations: 1.931 MB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3502, allocations: 1.571 MB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.3505, allocations: 8 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3507, allocations: 59.2 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.351, allocations: 95.09 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.3518, allocations: 301.9 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.3527, allocations: 0.6448 MB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.3531, allocations: 250.4 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3534, allocations: 235.1 kB / 1.37 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3537, allocations: 225.7 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3538, allocations: 68 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3539, allocations: 95.97 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3541, allocations: 131.5 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.3543, allocations: 230.9 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009055/0.3552, allocations: 0.8131 MB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3552, allocations: 0 / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3552, allocations: 3.938 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3552, allocations: 0 / 1.371 GB, free: 7 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001229/0.3564, allocations: 0.7525 MB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3565, allocations: 12.03 kB / 1.372 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.3567, allocations: 68.55 kB / 1.372 GB, free: 6.125 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3572, allocations: 298 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.3572, allocations: 41.69 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.3573, allocations: 60.38 kB / 1.372 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.3582, allocations: 0.5071 MB / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3582, allocations: 192 / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.3583, allocations: 23.94 kB / 1.373 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.3583, allocations: 15.94 kB / 1.373 GB, free: 5.152 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.359, allocations: 357.1 kB / 1.373 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.3609, allocations: 1.151 MB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.3615, allocations: 261.4 kB / 1.375 GB, free: 3.348 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.362, allocations: 176.5 kB / 1.375 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.362, allocations: 7.984 kB / 1.375 GB, free: 3.164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/0.3624, allocations: 194.9 kB / 1.375 GB, free: 2.953 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.3624, allocations: 4 kB / 1.375 GB, free: 2.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.000851/0.3633, allocations: 378.7 kB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.3633, allocations: 85.11 kB / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3637, allocations: 285.8 kB / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.3637, allocations: 29.7 kB / 1.376 GB, free: 2.152 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.3639, allocations: 296.6 kB / 1.376 GB, free: 1.859 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.364, allocations: 119 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.3642, allocations: 74.12 kB / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3643, allocations: 354.7 kB / 1.376 GB, free: 1.309 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3647, allocations: 162.5 kB / 1.377 GB, free: 1.141 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.3651, allocations: 232.9 kB / 1.377 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.3657, allocations: 356.1 kB / 1.377 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3657, allocations: 0 / 1.377 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009142/0.3666, allocations: 496.5 kB / 1.378 GB, free: 4 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.3666, allocations: 41.69 kB / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3666, allocations: 0 / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3667, allocations: 4 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.367, allocations: 75.84 kB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.367, allocations: 4 kB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3673, allocations: 75.81 kB / 1.378 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3674, allocations: 16 kB / 1.378 GB, free: 15.79 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.000202/0.3676, allocations: 178.7 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3676, allocations: 31.81 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.3683, allocations: 317.7 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3683, allocations: 4 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3683, allocations: 0 / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.3683, allocations: 11.92 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3695, allocations: 0.8168 MB / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3695, allocations: 0 / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.3697, allocations: 67.84 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3697, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.3698, allocations: 8.188 kB / 1.379 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3698, allocations: 15.92 kB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3698, allocations: 4 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.3705, allocations: 497.8 kB / 1.38 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.3706, allocations: 51.66 kB / 1.38 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.3706, allocations: 12 kB / 1.38 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3708, allocations: 11.98 kB / 1.38 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.3709, allocations: 31.89 kB / 1.38 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3709, allocations: 12 kB / 1.38 GB, free: 13.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002126/0.3711, allocations: 197.2 kB / 1.38 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3711, allocations: 0 / 1.38 GB, free: 13.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004657/0.3716, allocations: 123.6 kB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001541/0.3717, allocations: 111.1 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007417/0.3725, allocations: 398.5 kB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3725, allocations: 4.062 kB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.3728, allocations: 139.8 kB / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3733, allocations: 50.27 kB / 1.381 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3746, allocations: 0.7675 MB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3749, allocations: 220 kB / 1.382 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.375, allocations: 35.44 kB / 1.382 GB, free: 11.51 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.375, allocations: 0 / 1.382 GB, free: 11.51 MB / 1.076 GB Notification: Performance of Templates: time 0.007916/0.3829, allocations: 4.779 MB / 1.386 GB, free: 6.754 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.481555360835046]