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.0007907/0.0007907, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001829, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007037/0.0007037, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.001622, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9932/0.9932, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09873/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.498/2.498, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2825/2.781, allocations: 145.9 MB / 0.817 GB, free: 4.238 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.613e-06/1.613e-06, allocations: 0 / 0.8183 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.192e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002494/0.002516, allocations: 2.042 MB / 0.8203 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.004477, allocations: 1.641 MB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.004672, allocations: 8 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004774, allocations: 59.2 kB / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.004941, allocations: 99.02 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.005491, allocations: 299.4 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.005962, allocations: 0.6408 MB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.006244, allocations: 254.3 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.006563, allocations: 405.1 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.00674, allocations: 175.4 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.006807, allocations: 75.94 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.006938, allocations: 95.91 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.006999, allocations: 95.69 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.007117, allocations: 155.7 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.007543, allocations: 418.3 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.115e-05/0.007564, allocations: 4 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007565, allocations: 3.938 kB / 0.8245 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.007588, allocations: 0 / 0.8245 GB, free: 12.49 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.0008128/0.008401, allocations: 0.8327 MB / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.00843, allocations: 8.625 kB / 0.8254 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.008612, allocations: 170 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.00882, allocations: 220.5 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.00885, allocations: 45.67 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.008891, allocations: 64.38 kB / 0.8258 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.009205, allocations: 391.9 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.009216, allocations: 192 / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.009236, allocations: 20.38 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.009246, allocations: 16.38 kB / 0.8262 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.009378, allocations: 129.1 kB / 0.8264 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.01025, allocations: 0.8921 MB / 0.8272 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01046, allocations: 185 kB / 0.8274 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01058, allocations: 93.66 kB / 0.8275 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01061, allocations: 4 kB / 0.8275 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.01075, allocations: 147.4 kB / 0.8276 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.032e-06/0.01075, allocations: 4 kB / 0.8276 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0002026/0.01095, allocations: 185.4 kB / 0.8278 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.01099, allocations: 85.11 kB / 0.8279 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01114, allocations: 252.9 kB / 0.8281 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01116, allocations: 33.7 kB / 0.8282 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01127, allocations: 269.1 kB / 0.8284 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.01132, allocations: 115 kB / 0.8285 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.0114, allocations: 82.14 kB / 0.8286 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.01149, allocations: 346.8 kB / 0.829 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.01156, allocations: 78.67 kB / 0.829 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.01166, allocations: 157.4 kB / 0.8292 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01182, allocations: 214 kB / 0.8294 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01182, allocations: 0 / 0.8294 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002512/0.01207, allocations: 300.8 kB / 0.8297 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.01211, allocations: 44.3 kB / 0.8297 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01212, allocations: 0 / 0.8297 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01213, allocations: 4 kB / 0.8297 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.01233, allocations: 95.83 kB / 0.8298 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01233, allocations: 4 kB / 0.8298 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01245, allocations: 59.64 kB / 0.8299 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.01247, allocations: 12 kB / 0.8299 GB, free: 6.703 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 9.676e-05/0.01257, allocations: 129.8 kB / 0.83 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.0126, allocations: 35.91 kB / 0.83 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.01277, allocations: 177.8 kB / 0.8302 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01278, allocations: 4 kB / 0.8302 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01278, allocations: 0 / 0.8302 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01278, allocations: 0 / 0.8302 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.01318, allocations: 0.5579 MB / 0.8308 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01318, allocations: 192 / 0.8308 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.0133, allocations: 67.91 kB / 0.8308 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.01334, allocations: 43.7 kB / 0.8309 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.01334, allocations: 4 kB / 0.8309 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01335, allocations: 8 kB / 0.8309 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01335, allocations: 3.938 kB / 0.8309 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01336, allocations: 4 kB / 0.8309 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.01356, allocations: 376.4 kB / 0.8312 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01358, allocations: 8 kB / 0.8312 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.01366, allocations: 16 kB / 0.8313 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01371, allocations: 27.89 kB / 0.8313 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.01371, allocations: 12 kB / 0.8313 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.01378, allocations: 82.77 kB / 0.8314 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01378, allocations: 0 / 0.8314 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002548/0.01403, allocations: 123.6 kB / 0.8315 GB, free: 4.949 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 0.0001157/0.01415, allocations: 100.3 kB / 0.8316 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.01439, allocations: 278.9 kB / 0.8319 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.0144, allocations: 4 kB / 0.8319 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.01447, allocations: 84.61 kB / 0.8319 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01473, allocations: 70.33 kB / 0.832 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.01709, allocations: 0.7678 MB / 0.8328 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.01715, allocations: 109.3 kB / 0.8329 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.723e-05/0.01724, allocations: 30.97 kB / 0.8329 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.01737, allocations: 103.3 kB / 0.833 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.01737, allocations: 0 / 0.833 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.005616/0.02298, allocations: 3.716 MB / 0.8366 GB, free: 15.71 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.306089563295245]