Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001865/0.001865, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002691/0.002691, allocations: 163.9 kB / 22.46 MB, free: 5.375 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.671/2.671, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.009e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003737/0.003767, allocations: 1.926 MB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.006918, allocations: 1.567 MB / 0.9544 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.007272, allocations: 8 kB / 0.9544 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.007513, allocations: 59.2 kB / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.00792, allocations: 99.03 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.008917, allocations: 322.7 kB / 0.9548 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008382/0.009755, allocations: 0.6603 MB / 0.9555 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.01022, allocations: 246.4 kB / 0.9557 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.01067, allocations: 363.3 kB / 0.956 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.01094, allocations: 183.4 kB / 0.9562 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01104, allocations: 68 kB / 0.9563 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.01121, allocations: 91.98 kB / 0.9564 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01133, allocations: 131.5 kB / 0.9565 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.01156, allocations: 195.5 kB / 0.9567 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.01254, allocations: 0.841 MB / 0.9575 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.01255, allocations: 4 kB / 0.9575 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01255, allocations: 0 / 0.9575 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.01256, allocations: 0 / 0.9575 GB, free: 4.84 MB / 0.8575 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.001396/0.01396, allocations: 0.7486 MB / 0.9582 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.014, allocations: 8.031 kB / 0.9582 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.01426, allocations: 72.52 kB / 0.9583 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.01477, allocations: 297.7 kB / 0.9586 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.01482, allocations: 45.62 kB / 0.9586 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.01491, allocations: 60.38 kB / 0.9587 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.01584, allocations: 0.5033 MB / 0.9592 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.01586, allocations: 192 / 0.9592 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.01592, allocations: 20.38 kB / 0.9592 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01593, allocations: 16.38 kB / 0.9592 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.0167, allocations: 365 kB / 0.9596 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.01872, allocations: 1.136 MB / 0.9607 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.01934, allocations: 261.4 kB / 0.9609 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.01982, allocations: 169.6 kB / 0.9611 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.01985, allocations: 4 kB / 0.9611 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.02026, allocations: 206.8 kB / 0.9613 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.02026, allocations: 0 / 0.9613 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0009725/0.02123, allocations: 387.8 kB / 0.9617 GB, free: 432 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.02131, allocations: 85.11 kB / 0.9617 GB, free: 328 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.02168, allocations: 281.7 kB / 0.962 GB, free: 36 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.02175, allocations: 37.75 kB / 0.9621 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.022, allocations: 292.6 kB / 0.9623 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.02212, allocations: 115 kB / 0.9624 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.0223, allocations: 86.14 kB / 0.9625 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.02249, allocations: 334.8 kB / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.02286, allocations: 170.6 kB / 0.963 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.02326, allocations: 237.4 kB / 0.9632 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.02391, allocations: 336.2 kB / 0.9636 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02392, allocations: 4 kB / 0.9636 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009682/0.02488, allocations: 0.4951 MB / 0.964 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.02494, allocations: 37.7 kB / 0.9641 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.02495, allocations: 4 kB / 0.9641 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.02497, allocations: 4 kB / 0.9641 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.02533, allocations: 79.89 kB / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.02534, allocations: 7.938 kB / 0.9642 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.0257, allocations: 63.88 kB / 0.9642 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.02575, allocations: 23.94 kB / 0.9643 GB, free: 13.63 MB / 0.8731 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.000227/0.02598, allocations: 173.7 kB / 0.9644 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.02602, allocations: 27.81 kB / 0.9644 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.02678, allocations: 313 kB / 0.9647 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.02679, allocations: 4 kB / 0.9647 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.02679, allocations: 4 kB / 0.9647 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.0268, allocations: 7.984 kB / 0.9648 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.02805, allocations: 0.8212 MB / 0.9656 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.02806, allocations: 4 kB / 0.9656 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.02832, allocations: 55.91 kB / 0.9656 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.02833, allocations: 4 kB / 0.9656 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.02835, allocations: 8.188 kB / 0.9656 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.02836, allocations: 11.94 kB / 0.9656 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.02837, allocations: 3.938 kB / 0.9656 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.02912, allocations: 0.497 MB / 0.9661 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.02918, allocations: 35.73 kB / 0.9662 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.02923, allocations: 8 kB / 0.9662 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.02945, allocations: 19.92 kB / 0.9662 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.02954, allocations: 27.89 kB / 0.9662 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.02957, allocations: 23.94 kB / 0.9662 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000233/0.0298, allocations: 193.2 kB / 0.9664 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0298, allocations: 0 / 0.9664 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000533/0.03033, allocations: 123.5 kB / 0.9665 GB, free: 11.18 MB / 0.8731 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.0002223/0.03055, allocations: 107.2 kB / 0.9666 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008113/0.03137, allocations: 400.9 kB / 0.967 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.03137, allocations: 4.125 kB / 0.967 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.03168, allocations: 119.8 kB / 0.9671 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.03231, allocations: 60.7 kB / 0.9672 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.0338, allocations: 0.7368 MB / 0.9679 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.03412, allocations: 220.1 kB / 0.9681 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.03425, allocations: 30.97 kB / 0.9682 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.03434, allocations: 28.5 kB / 0.9682 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.03434, allocations: 4 kB / 0.9682 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of Templates: time 0.009434/0.04377, allocations: 3.313 MB / 0.9714 GB, free: 6.156 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.303548507392406]