Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001092/0.001092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002266, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007009/0.0007009, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008942/0.001595, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1146/1.134, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5673/2.479, allocations: 123.3 MB / 0.728 GB, free: 5.848 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.7293 GB, free: 4.59 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.347e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003741/0.003775, allocations: 2.041 MB / 0.7313 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.006747, allocations: 1.632 MB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.007116, allocations: 8 kB / 0.7329 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.00728, allocations: 55.77 kB / 0.7329 GB, free: 0.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.007588, allocations: 104.4 kB / 0.733 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.008395, allocations: 296 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.008969, allocations: 0.6415 MB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.009258, allocations: 258.2 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.009595, allocations: 397.7 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.009765, allocations: 180 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.009826, allocations: 71.94 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.009976, allocations: 100.4 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.01019, allocations: 104.5 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.0103, allocations: 155.7 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.0107, allocations: 419.2 kB / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.01072, allocations: 0 / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01072, allocations: 0 / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.01073, allocations: 1.438 kB / 0.7356 GB, free: 14.17 MB / 0.7136 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.0009219/0.01165, allocations: 0.8256 MB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01169, allocations: 8.719 kB / 0.7364 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.01192, allocations: 170 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.01217, allocations: 234.1 kB / 0.7368 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.01221, allocations: 41.69 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.01225, allocations: 60.38 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.01262, allocations: 387.9 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01263, allocations: 4.984 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.01265, allocations: 20.38 kB / 0.7373 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01266, allocations: 12.88 kB / 0.7373 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.0128, allocations: 133 kB / 0.7374 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01386, allocations: 0.8875 MB / 0.7383 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01414, allocations: 177.6 kB / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.0143, allocations: 98.06 kB / 0.7385 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.01433, allocations: 8 kB / 0.7385 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.01454, allocations: 146.9 kB / 0.7387 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 3.526e-06/0.01454, allocations: 0.5938 kB / 0.7387 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0002562/0.0148, allocations: 188.2 kB / 0.7389 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.01485, allocations: 90.11 kB / 0.7389 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.01504, allocations: 252.8 kB / 0.7392 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.01507, allocations: 33.7 kB / 0.7392 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01519, allocations: 269.7 kB / 0.7395 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.01524, allocations: 116.1 kB / 0.7396 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.01531, allocations: 78.16 kB / 0.7397 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.0155, allocations: 346.8 kB / 0.74 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.01558, allocations: 79.39 kB / 0.7401 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.01568, allocations: 157.5 kB / 0.7402 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01585, allocations: 216.9 kB / 0.7404 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01585, allocations: 0 / 0.7404 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002557/0.01611, allocations: 299.8 kB / 0.7407 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.01615, allocations: 33.7 kB / 0.7407 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01616, allocations: 5.609 kB / 0.7407 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.01617, allocations: 4 kB / 0.7407 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.01638, allocations: 95.84 kB / 0.7408 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01639, allocations: 4.75 kB / 0.7408 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01652, allocations: 60.23 kB / 0.7409 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.01654, allocations: 8 kB / 0.7409 GB, free: 8.422 MB / 0.7136 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.0001163/0.01665, allocations: 138.5 kB / 0.741 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.01669, allocations: 36.92 kB / 0.7411 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.01694, allocations: 171.5 kB / 0.7412 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.01694, allocations: 5.125 kB / 0.7412 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01695, allocations: 4 kB / 0.7412 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.01695, allocations: 3.984 kB / 0.7412 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.01767, allocations: 0.5567 MB / 0.7418 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01767, allocations: 0.9062 kB / 0.7418 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.01782, allocations: 71.89 kB / 0.7419 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.01786, allocations: 36.98 kB / 0.7419 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01786, allocations: 0 / 0.7419 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01788, allocations: 8 kB / 0.7419 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01788, allocations: 5.125 kB / 0.7419 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.01788, allocations: 7.938 kB / 0.7419 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01811, allocations: 364.7 kB / 0.7423 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01814, allocations: 8 kB / 0.7423 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.01823, allocations: 8 kB / 0.7423 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.01828, allocations: 35.83 kB / 0.7423 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01829, allocations: 7.984 kB / 0.7423 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.01835, allocations: 86.77 kB / 0.7424 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01835, allocations: 0 / 0.7424 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002944/0.01865, allocations: 134 kB / 0.7425 GB, free: 6.676 MB / 0.7136 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.0001579/0.01881, allocations: 92.34 kB / 0.7426 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.0191, allocations: 283 kB / 0.7429 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.01912, allocations: 6.344 kB / 0.7429 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.0192, allocations: 81.19 kB / 0.743 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.0195, allocations: 74.77 kB / 0.743 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.02192, allocations: 0.7395 MB / 0.7438 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.025e-05/0.022, allocations: 110.4 kB / 0.7439 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.785e-05/0.0221, allocations: 30.56 kB / 0.7439 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.02224, allocations: 107.3 kB / 0.744 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of SimCode: time 1.914e-06/0.02224, allocations: 6.375 kB / 0.744 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.006966/0.02921, allocations: 3.719 MB / 0.7476 GB, free: 1.574 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153129921294749]