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.001187/0.001187, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002347, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007341/0.0007341, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009269/0.001661, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9688/0.9688, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.069, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2531/2.632, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.956e-06/1.035e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00207/0.00208, allocations: 2.047 MB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003598, allocations: 1.633 MB / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.003737, allocations: 8 kB / 0.8225 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.429e-05/0.003821, allocations: 59.2 kB / 0.8226 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.003958, allocations: 99.02 kB / 0.8226 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.004342, allocations: 299.3 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.004737, allocations: 0.6447 MB / 0.8236 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.004979, allocations: 254.3 kB / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.005264, allocations: 405.1 kB / 0.8242 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005411, allocations: 175.4 kB / 0.8244 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.005466, allocations: 68 kB / 0.8244 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.005575, allocations: 91.92 kB / 0.8245 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.005633, allocations: 107.6 kB / 0.8246 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.005736, allocations: 159.7 kB / 0.8248 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.006048, allocations: 418.3 kB / 0.8252 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.006057, allocations: 0 / 0.8252 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.006057, allocations: 0 / 0.8252 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.006067, allocations: 4 kB / 0.8252 GB, free: 12.08 MB / 0.8073 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.0007228/0.00679, allocations: 0.8288 MB / 0.826 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.006817, allocations: 12.03 kB / 0.826 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.007018, allocations: 174 kB / 0.8262 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.007227, allocations: 228.4 kB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.007256, allocations: 41.69 kB / 0.8264 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.007299, allocations: 56.38 kB / 0.8265 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.00761, allocations: 395.9 kB / 0.8268 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.00762, allocations: 192 / 0.8268 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.007641, allocations: 24.36 kB / 0.8269 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.007652, allocations: 12.38 kB / 0.8269 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.007786, allocations: 133 kB / 0.827 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.008657, allocations: 0.8922 MB / 0.8279 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.008865, allocations: 176.9 kB / 0.828 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.008987, allocations: 93.61 kB / 0.8281 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.00901, allocations: 8 kB / 0.8281 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.009152, allocations: 151.9 kB / 0.8283 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.213e-06/0.009153, allocations: 0 / 0.8283 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.000218/0.009371, allocations: 185.6 kB / 0.8285 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.009406, allocations: 89.05 kB / 0.8285 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.009542, allocations: 256.9 kB / 0.8288 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.009565, allocations: 33.7 kB / 0.8288 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.009671, allocations: 269.1 kB / 0.8291 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.009726, allocations: 123 kB / 0.8292 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.009803, allocations: 78.16 kB / 0.8293 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.009884, allocations: 338.8 kB / 0.8296 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.009965, allocations: 86.66 kB / 0.8297 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.01006, allocations: 149.5 kB / 0.8298 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01023, allocations: 226.9 kB / 0.83 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01023, allocations: 0 / 0.83 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002358/0.01047, allocations: 293.2 kB / 0.8303 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.0105, allocations: 41.69 kB / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.01051, allocations: 192 / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.01052, allocations: 8 kB / 0.8304 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.0107, allocations: 91.89 kB / 0.8305 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01071, allocations: 7.938 kB / 0.8305 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01083, allocations: 47.72 kB / 0.8305 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01084, allocations: 19.98 kB / 0.8305 GB, free: 6.281 MB / 0.8073 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.0001016/0.01095, allocations: 141.6 kB / 0.8307 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.01097, allocations: 27.97 kB / 0.8307 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.01115, allocations: 174.1 kB / 0.8309 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01115, allocations: 4 kB / 0.8309 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01116, allocations: 3.984 kB / 0.8309 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01116, allocations: 3.984 kB / 0.8309 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.01155, allocations: 0.5577 MB / 0.8314 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01155, allocations: 0 / 0.8314 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01168, allocations: 72.09 kB / 0.8315 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.0117, allocations: 31.75 kB / 0.8315 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01171, allocations: 4 kB / 0.8315 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01172, allocations: 11.98 kB / 0.8315 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.01172, allocations: 7.938 kB / 0.8315 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01172, allocations: 0 / 0.8315 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01191, allocations: 362 kB / 0.8319 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01193, allocations: 11.98 kB / 0.8319 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.01202, allocations: 20 kB / 0.8319 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.01206, allocations: 27.89 kB / 0.8319 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01207, allocations: 12 kB / 0.8319 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.01213, allocations: 90.7 kB / 0.832 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01213, allocations: 0 / 0.832 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002349/0.01237, allocations: 127.5 kB / 0.8322 GB, free: 4.52 MB / 0.8073 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 9.737e-05/0.01246, allocations: 100.3 kB / 0.8322 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.0127, allocations: 271.3 kB / 0.8325 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.01271, allocations: 4.562 kB / 0.8325 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01281, allocations: 118.1 kB / 0.8326 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.01314, allocations: 232.1 kB / 0.8328 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.01538, allocations: 0.7488 MB / 0.8336 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.01545, allocations: 109.3 kB / 0.8337 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.976e-05/0.01553, allocations: 34.95 kB / 0.8337 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.01566, allocations: 107.3 kB / 0.8338 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01566, allocations: 0 / 0.8338 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.005976/0.02163, allocations: 3.656 MB / 0.8374 GB, free: 15.14 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.257280815392733]