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.001707/0.001707, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002061/0.002061, allocations: 212 kB / 23.01 MB, free: 4.57 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.992 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.334/3.334, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.003002/0.003002, allocations: 67.23 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.386, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004105/0.3901, allocations: 2.227 MB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.3926, allocations: 1.599 MB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3928, allocations: 8 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.393, allocations: 59.2 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.3933, allocations: 99.09 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.394, allocations: 305.9 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.3947, allocations: 0.637 MB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.3952, allocations: 270.4 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.3955, allocations: 231.2 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.3958, allocations: 262.8 kB / 1.36 GB, free: 2.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.3959, allocations: 68 kB / 1.36 GB, free: 2.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.396, allocations: 91.98 kB / 1.36 GB, free: 2.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3961, allocations: 135.5 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.3964, allocations: 286.6 kB / 1.36 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.3973, allocations: 0.813 MB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3973, allocations: 0 / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3973, allocations: 0 / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.3974, allocations: 4 kB / 1.361 GB, free: 0.918 MB / 1.045 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.001378/0.3987, allocations: 0.7524 MB / 1.362 GB, free: 124 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3988, allocations: 12.03 kB / 1.362 GB, free: 112 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.399, allocations: 68.56 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.3995, allocations: 294 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.3996, allocations: 45.69 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.3997, allocations: 52.38 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.4006, allocations: 0.5071 MB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4006, allocations: 192 / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.4006, allocations: 31.94 kB / 1.363 GB, free: 15.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.4007, allocations: 16 kB / 1.363 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/0.4014, allocations: 357.1 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.4035, allocations: 1.396 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.4041, allocations: 269.2 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.4045, allocations: 171.4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4046, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.405, allocations: 195 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.405, allocations: 0 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0008725/0.4059, allocations: 393.1 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4059, allocations: 89.05 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.4064, allocations: 409.6 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4065, allocations: 33.7 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4067, allocations: 280.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4068, allocations: 115 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.4069, allocations: 82.12 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4071, allocations: 350.8 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.4074, allocations: 136.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.4078, allocations: 207.1 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.4084, allocations: 349.1 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4084, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000873/0.4092, allocations: 476.4 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.4093, allocations: 39.56 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4093, allocations: 8.188 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4093, allocations: 8 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.4096, allocations: 75.91 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4096, allocations: 7.938 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.41, allocations: 83.47 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.41, allocations: 23.98 kB / 1.368 GB, free: 9.387 MB / 1.061 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.0002327/0.4103, allocations: 178.3 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.4103, allocations: 39.72 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.411, allocations: 323.6 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.411, allocations: 7.938 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.411, allocations: 3.938 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.411, allocations: 3.984 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.4124, allocations: 0.9426 MB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4124, allocations: 0 / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.4126, allocations: 64.08 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4126, allocations: 8 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.4126, allocations: 8 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4126, allocations: 4 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4126, allocations: 4 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.4133, allocations: 0.5093 MB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.4134, allocations: 59.58 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.4135, allocations: 8 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4137, allocations: 11.98 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.4138, allocations: 31.95 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.4138, allocations: 19.92 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003425/0.4141, allocations: 287.2 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4141, allocations: 3.938 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004773/0.4146, allocations: 107.8 kB / 1.371 GB, free: 6.66 MB / 1.061 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.0001699/0.4148, allocations: 111.1 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.4155, allocations: 367.2 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4155, allocations: 0 / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4158, allocations: 139.8 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.4164, allocations: 67.64 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4177, allocations: 0.7771 MB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.4182, allocations: 0.8237 MB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4183, allocations: 39.44 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4183, allocations: 0 / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of Templates: time 0.008283/0.4266, allocations: 5.057 MB / 1.378 GB, free: 15.21 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.692406863992801]