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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 116.4 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.011/3.011, allocations: 489.3 MB / 0.7687 GB, free: 3.961 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002134/0.002134, allocations: 71.88 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8932, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003051/0.8963, allocations: 2.23 MB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.8984, allocations: 1.524 MB / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.8986, allocations: 12.62 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.8987, allocations: 60.52 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.899, allocations: 86 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.8997, allocations: 306.6 kB / 1.267 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.9003, allocations: 0.6414 MB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.9008, allocations: 365.8 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.901, allocations: 233.4 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.9013, allocations: 254.5 kB / 1.268 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.9014, allocations: 70.34 kB / 1.268 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.9016, allocations: 84.38 kB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.9017, allocations: 138.5 kB / 1.268 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.902, allocations: 287.3 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.903, allocations: 0.8038 MB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.903, allocations: 0 / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.903, allocations: 0.9375 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.9031, allocations: 0 / 1.269 GB, free: 3.57 MB / 0.9981 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.00115/0.9042, allocations: 0.8274 MB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9043, allocations: 8.906 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.9044, allocations: 63.59 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.9047, allocations: 356.6 kB / 1.271 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.9048, allocations: 41.25 kB / 1.271 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.9049, allocations: 59.91 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.9057, allocations: 0.5061 MB / 1.271 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9057, allocations: 5.922 kB / 1.271 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.9058, allocations: 24.84 kB / 1.271 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.9058, allocations: 13.28 kB / 1.271 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.9065, allocations: 357.5 kB / 1.272 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.9083, allocations: 1.443 MB / 1.273 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.9089, allocations: 298.5 kB / 1.273 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.9093, allocations: 182 kB / 1.273 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.9093, allocations: 8 kB / 1.274 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.9097, allocations: 200.3 kB / 1.274 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.9097, allocations: 0 / 1.274 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008661/0.9106, allocations: 394.8 kB / 1.274 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.9106, allocations: 80.83 kB / 1.274 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.911, allocations: 415.8 kB / 1.275 GB, free: 500 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.9111, allocations: 36.61 kB / 1.275 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.9112, allocations: 275.2 kB / 1.275 GB, free: 232 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.9113, allocations: 111.5 kB / 1.275 GB, free: 144 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.9114, allocations: 85.75 kB / 1.275 GB, free: 96 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.9116, allocations: 352.2 kB / 1.275 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.9119, allocations: 130.3 kB / 1.275 GB, free: 15.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.9123, allocations: 210.1 kB / 1.276 GB, free: 15.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.9129, allocations: 345.5 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9129, allocations: 2.141 kB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008805/0.9138, allocations: 468.5 kB / 1.276 GB, free: 15.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.9138, allocations: 44.19 kB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9139, allocations: 2.781 kB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9139, allocations: 3.375 kB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.9142, allocations: 79.48 kB / 1.277 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.9142, allocations: 7.375 kB / 1.277 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.9146, allocations: 76.33 kB / 1.277 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.9147, allocations: 18.94 kB / 1.277 GB, free: 15.07 MB / 1.014 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.0002247/0.9149, allocations: 178.8 kB / 1.277 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.915, allocations: 42.39 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.9157, allocations: 325.1 kB / 1.277 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9157, allocations: 4.219 kB / 1.277 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.9157, allocations: 4.688 kB / 1.277 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.9157, allocations: 2.375 kB / 1.277 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.9171, allocations: 0.9698 MB / 1.278 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9172, allocations: 6.125 kB / 1.278 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.9174, allocations: 69.2 kB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9174, allocations: 3.828 kB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.9175, allocations: 12.98 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.9175, allocations: 4.75 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9175, allocations: 1.625 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.9182, allocations: 0.5153 MB / 1.279 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9183, allocations: 133.2 kB / 1.279 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.9184, allocations: 10.42 kB / 1.279 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.9186, allocations: 15.84 kB / 1.279 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.9187, allocations: 23.91 kB / 1.279 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.9187, allocations: 16.86 kB / 1.279 GB, free: 13.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003044/0.919, allocations: 288.7 kB / 1.279 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/0.919, allocations: 0 / 1.279 GB, free: 13.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004488/0.9195, allocations: 107.8 kB / 1.279 GB, free: 13.34 MB / 1.014 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.0001618/0.9196, allocations: 115.7 kB / 1.279 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007161/0.9204, allocations: 388.6 kB / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9204, allocations: 0 / 1.28 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.9207, allocations: 149.9 kB / 1.28 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.9213, allocations: 66.77 kB / 1.28 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.9226, allocations: 0.7711 MB / 1.281 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.9231, allocations: 0.8241 MB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.9232, allocations: 34.77 kB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.9232, allocations: 1.094 kB / 1.282 GB, free: 11.75 MB / 1.014 GB Notification: Performance of Templates: time 0.009828/0.9331, allocations: 5.037 MB / 1.287 GB, free: 11.17 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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.503285625949502]