Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001875/0.001875, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.002105/0.002105, allocations: 159.3 kB / 23.01 MB, free: 4.961 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002083/0.002083, allocations: 67.88 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3752, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003593/0.3788, allocations: 1.93 MB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.3811, allocations: 1.564 MB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.3813, allocations: 8 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.3814, allocations: 63.2 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3817, allocations: 99.08 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3824, allocations: 303.5 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006883/0.3831, allocations: 0.6371 MB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.3836, allocations: 258.2 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.3838, allocations: 235.2 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.3841, allocations: 222.8 kB / 1.123 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.165e-05/0.3842, allocations: 76 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.3844, allocations: 84 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3845, allocations: 131.5 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.3847, allocations: 238.9 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008394/0.3856, allocations: 0.817 MB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3856, allocations: 0 / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3856, allocations: 0 / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3856, allocations: 0 / 1.124 GB, free: 11.94 MB / 1.076 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.001265/0.3869, allocations: 0.7525 MB / 1.125 GB, free: 11.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3869, allocations: 11.97 kB / 1.125 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.3871, allocations: 64.56 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.3876, allocations: 302.4 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3877, allocations: 45.69 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.3878, allocations: 60.36 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.3886, allocations: 0.4994 MB / 1.126 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3887, allocations: 192 / 1.126 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3887, allocations: 27.94 kB / 1.126 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.3887, allocations: 20 kB / 1.126 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.3894, allocations: 361 kB / 1.126 GB, free: 9.738 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3914, allocations: 1.136 MB / 1.127 GB, free: 8.566 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.392, allocations: 261.3 kB / 1.127 GB, free: 8.293 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.3924, allocations: 169.7 kB / 1.127 GB, free: 8.121 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3924, allocations: 7.938 kB / 1.128 GB, free: 8.113 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.3928, allocations: 198.9 kB / 1.128 GB, free: 7.898 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.3928, allocations: 3.938 kB / 1.128 GB, free: 7.895 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0008763/0.3937, allocations: 391.8 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3937, allocations: 81.11 kB / 1.128 GB, free: 7.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.3941, allocations: 281.8 kB / 1.128 GB, free: 7.125 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.3942, allocations: 37.7 kB / 1.128 GB, free: 7.082 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3944, allocations: 280.6 kB / 1.129 GB, free: 6.801 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3945, allocations: 123 kB / 1.129 GB, free: 6.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3947, allocations: 82.14 kB / 1.129 GB, free: 6.594 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3948, allocations: 338.8 kB / 1.129 GB, free: 6.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.3952, allocations: 170.6 kB / 1.129 GB, free: 6.082 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.3956, allocations: 233.5 kB / 1.13 GB, free: 5.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.3962, allocations: 349.4 kB / 1.13 GB, free: 5.453 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3962, allocations: 0 / 1.13 GB, free: 5.453 MB / 1.076 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009188/0.3971, allocations: 496.4 kB / 1.13 GB, free: 4.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.3972, allocations: 37.7 kB / 1.13 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3972, allocations: 0 / 1.13 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3972, allocations: 4 kB / 1.13 GB, free: 4.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.3976, allocations: 96.02 kB / 1.131 GB, free: 4.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3976, allocations: 7.938 kB / 1.131 GB, free: 4.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3979, allocations: 59.64 kB / 1.131 GB, free: 4.742 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.398, allocations: 23.98 kB / 1.131 GB, free: 4.719 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.0002183/0.3982, allocations: 173.7 kB / 1.131 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3982, allocations: 27.81 kB / 1.131 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.3989, allocations: 322.3 kB / 1.131 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3989, allocations: 4 kB / 1.131 GB, free: 4.191 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3989, allocations: 0 / 1.131 GB, free: 4.191 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3989, allocations: 7.938 kB / 1.131 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4001, allocations: 0.8106 MB / 1.132 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4001, allocations: 4.188 kB / 1.132 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.4004, allocations: 63.84 kB / 1.132 GB, free: 3.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.4004, allocations: 4 kB / 1.132 GB, free: 3.246 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.4004, allocations: 8 kB / 1.132 GB, free: 3.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4004, allocations: 4 kB / 1.132 GB, free: 3.234 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4004, allocations: 0 / 1.132 GB, free: 3.234 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.4011, allocations: 0.4978 MB / 1.133 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.4012, allocations: 47.62 kB / 1.133 GB, free: 2.652 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4012, allocations: 15.94 kB / 1.133 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4014, allocations: 15.98 kB / 1.133 GB, free: 2.621 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.4015, allocations: 27.89 kB / 1.133 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4015, allocations: 15.98 kB / 1.133 GB, free: 2.578 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002122/0.4017, allocations: 193.2 kB / 1.133 GB, free: 2.391 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4017, allocations: 0 / 1.133 GB, free: 2.391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004672/0.4022, allocations: 119.6 kB / 1.133 GB, free: 2.273 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.0002668/0.4025, allocations: 119.1 kB / 1.133 GB, free: 2.148 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.4033, allocations: 415.8 kB / 1.133 GB, free: 1.734 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4033, allocations: 0 / 1.133 GB, free: 1.734 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.4035, allocations: 119.8 kB / 1.134 GB, free: 1.617 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.4041, allocations: 61.09 kB / 1.134 GB, free: 1.559 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4054, allocations: 0.7426 MB / 1.134 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.4056, allocations: 224.1 kB / 1.135 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.4058, allocations: 30.97 kB / 1.135 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.4058, allocations: 24.5 kB / 1.135 GB, free: 476 kB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.4058, allocations: 0 / 1.135 GB, free: 476 kB / 1.076 GB Notification: Performance of Templates: time 0.6487/1.055, allocations: 3.323 MB / 1.138 GB, free: 57.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.04361113102641]