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.001941/0.001941, allocations: 104 kB / 16.45 MB, free: 6.449 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.002166/0.002166, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.563/1.563, allocations: 230.6 MB / 252.8 MB, free: 9.152 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.526/3.526, allocations: 0.4899 GB / 0.7916 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002096/0.002096, allocations: 68.16 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4655, allocations: 176.1 MB / 1.321 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00435/0.4698, allocations: 2.231 MB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003079/0.4729, allocations: 1.579 MB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.4732, allocations: 12 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.4734, allocations: 63.2 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.4737, allocations: 95.08 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.4746, allocations: 310.3 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.4754, allocations: 0.6409 MB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.4759, allocations: 261.8 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.4763, allocations: 243.1 kB / 1.327 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.4766, allocations: 262 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.722e-05/0.4767, allocations: 72 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.4769, allocations: 91.92 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.477, allocations: 123.6 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.4773, allocations: 294.5 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.4783, allocations: 0.8052 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4783, allocations: 4 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4783, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4783, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 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.001425/0.4797, allocations: 0.8317 MB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4798, allocations: 11.98 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.48, allocations: 68.56 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.4805, allocations: 359.8 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.4806, allocations: 45.62 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.4807, allocations: 60.38 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.4817, allocations: 0.5031 MB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4817, allocations: 192 / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.4817, allocations: 27.94 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4818, allocations: 12 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.4825, allocations: 360.6 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.4848, allocations: 1.446 MB / 1.332 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.4855, allocations: 269.2 kB / 1.332 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.4859, allocations: 161.8 kB / 1.332 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.4859, allocations: 15.92 kB / 1.332 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.4864, allocations: 202.9 kB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.4864, allocations: 0 / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009884/0.4873, allocations: 386.7 kB / 1.333 GB, free: 6.957 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.4874, allocations: 89.05 kB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.488, allocations: 413.6 kB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.488, allocations: 29.7 kB / 1.333 GB, free: 6.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.4882, allocations: 272.4 kB / 1.333 GB, free: 6.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4884, allocations: 123 kB / 1.334 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4885, allocations: 82.11 kB / 1.334 GB, free: 5.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4887, allocations: 350.8 kB / 1.334 GB, free: 5.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.489, allocations: 128.8 kB / 1.334 GB, free: 5.457 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.4894, allocations: 215.1 kB / 1.334 GB, free: 5.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.4901, allocations: 340.6 kB / 1.335 GB, free: 4.863 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4901, allocations: 0 / 1.335 GB, free: 4.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001013/0.4911, allocations: 480.3 kB / 1.335 GB, free: 4.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.4911, allocations: 41.69 kB / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4911, allocations: 4 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4912, allocations: 0 / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4915, allocations: 83.89 kB / 1.335 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.4915, allocations: 7.938 kB / 1.335 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.4919, allocations: 79.67 kB / 1.335 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.492, allocations: 23.92 kB / 1.335 GB, free: 4.141 MB / 1.029 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.0002328/0.4922, allocations: 169.7 kB / 1.336 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.4923, allocations: 39.77 kB / 1.336 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007165/0.493, allocations: 331.6 kB / 1.336 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.493, allocations: 8 kB / 1.336 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.493, allocations: 3.938 kB / 1.336 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.493, allocations: 3.984 kB / 1.336 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.4945, allocations: 0.9709 MB / 1.337 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4945, allocations: 4 kB / 1.337 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4947, allocations: 59.91 kB / 1.337 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4947, allocations: 4 kB / 1.337 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.4948, allocations: 8 kB / 1.337 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.4948, allocations: 4 kB / 1.337 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4948, allocations: 4 kB / 1.337 GB, free: 2.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.4955, allocations: 0.5134 MB / 1.337 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4956, allocations: 128.8 kB / 1.338 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.4956, allocations: 8 kB / 1.338 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4959, allocations: 15.98 kB / 1.338 GB, free: 1.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.4959, allocations: 31.84 kB / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.496, allocations: 11.94 kB / 1.338 GB, free: 1.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003316/0.4963, allocations: 287.2 kB / 1.338 GB, free: 1.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4963, allocations: 0 / 1.338 GB, free: 1.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004912/0.4968, allocations: 111.7 kB / 1.338 GB, free: 1.301 MB / 1.029 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.0002021/0.497, allocations: 123.2 kB / 1.338 GB, free: 1.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007708/0.4978, allocations: 359 kB / 1.338 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4978, allocations: 0 / 1.338 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.498, allocations: 128.5 kB / 1.339 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.4987, allocations: 73.44 kB / 1.339 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.5003, allocations: 0.7485 MB / 1.339 GB, free: 15.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.5008, allocations: 0.8237 MB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.501, allocations: 43.27 kB / 1.34 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.5011, allocations: 39.42 kB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 2.114e-06/0.5011, allocations: 3.938 kB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of Templates: time 0.01028/0.5114, allocations: 4.076 MB / 1.344 GB, free: 10.84 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.998541701119393]