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.001083/0.001083, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009187/0.0009187, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.939/0.939, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.433/2.433, allocations: 438.8 MB / 0.6826 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8385 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.843e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002088/0.002106, allocations: 1.977 MB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.003928, allocations: 1.633 MB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.004085, allocations: 8 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.004176, allocations: 59.2 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.004366, allocations: 103 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.004866, allocations: 303.3 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.005352, allocations: 0.6486 MB / 0.8432 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.005625, allocations: 258.3 kB / 0.8434 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.0059, allocations: 367.3 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.006064, allocations: 183.4 kB / 0.8439 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.006122, allocations: 68 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.006229, allocations: 91.92 kB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.006299, allocations: 131.5 kB / 0.8442 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.006417, allocations: 195.5 kB / 0.8444 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.006779, allocations: 470 kB / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006781, allocations: 0 / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006781, allocations: 0 / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.006786, allocations: 0 / 0.8448 GB, free: 7.707 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.0006218/0.007408, allocations: 0.7237 MB / 0.8455 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.007438, allocations: 12.62 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.007597, allocations: 96.86 kB / 0.8457 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.007805, allocations: 224.5 kB / 0.8459 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.007833, allocations: 45.62 kB / 0.8459 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.007876, allocations: 56.38 kB / 0.846 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.008194, allocations: 391.9 kB / 0.8463 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.008206, allocations: 4.188 kB / 0.8463 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.008231, allocations: 28.36 kB / 0.8464 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.008241, allocations: 12.38 kB / 0.8464 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.008379, allocations: 133 kB / 0.8465 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.009305, allocations: 0.8766 MB / 0.8474 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.009527, allocations: 169 kB / 0.8475 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.00965, allocations: 104.7 kB / 0.8476 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.009671, allocations: 8 kB / 0.8476 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.009809, allocations: 148 kB / 0.8478 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.052e-06/0.00981, allocations: 0 / 0.8478 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0002314/0.01004, allocations: 187.5 kB / 0.848 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.01008, allocations: 81.11 kB / 0.848 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01023, allocations: 256.9 kB / 0.8483 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01025, allocations: 33.7 kB / 0.8483 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01036, allocations: 269.1 kB / 0.8486 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.01042, allocations: 115 kB / 0.8487 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.0105, allocations: 82.11 kB / 0.8488 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003886/0.01089, allocations: 350.7 kB / 0.8491 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.01097, allocations: 78.67 kB / 0.8492 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.01107, allocations: 153.4 kB / 0.8493 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.01128, allocations: 230.1 kB / 0.8495 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01128, allocations: 0 / 0.8495 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002365/0.01152, allocations: 288.7 kB / 0.8498 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.01155, allocations: 41.69 kB / 0.8498 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01155, allocations: 3.984 kB / 0.8498 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01157, allocations: 4.188 kB / 0.8498 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01172, allocations: 79.91 kB / 0.8499 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01172, allocations: 4 kB / 0.8499 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01185, allocations: 55.64 kB / 0.85 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.01187, allocations: 19.98 kB / 0.85 GB, free: 2.137 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.282e-05/0.01196, allocations: 133.7 kB / 0.8501 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.01199, allocations: 31.91 kB / 0.8502 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.01225, allocations: 171.5 kB / 0.8503 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01225, allocations: 8 kB / 0.8503 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01225, allocations: 0 / 0.8503 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01225, allocations: 0 / 0.8503 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.01267, allocations: 0.5556 MB / 0.8509 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01267, allocations: 3.938 kB / 0.8509 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01278, allocations: 59.91 kB / 0.8509 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.01278, allocations: 4 kB / 0.8509 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01279, allocations: 8.188 kB / 0.8509 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0128, allocations: 8 kB / 0.851 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0128, allocations: 0 / 0.851 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.01301, allocations: 369.9 kB / 0.8513 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.01304, allocations: 35.73 kB / 0.8513 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.01306, allocations: 8 kB / 0.8513 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.01315, allocations: 11.98 kB / 0.8514 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.01319, allocations: 27.89 kB / 0.8514 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.0132, allocations: 12 kB / 0.8514 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.181e-05/0.01326, allocations: 86.77 kB / 0.8515 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01326, allocations: 4 kB / 0.8515 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002565/0.01351, allocations: 123.6 kB / 0.8516 GB, free: 412 kB / 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 9.397e-05/0.01361, allocations: 92.36 kB / 0.8517 GB, free: 312 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01385, allocations: 268 kB / 0.8519 GB, free: 24 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01386, allocations: 7.938 kB / 0.852 GB, free: 16 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.01408, allocations: 85.19 kB / 0.852 GB, free: 15.93 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01433, allocations: 60.59 kB / 0.8521 GB, free: 15.87 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008319/0.01516, allocations: 0.7061 MB / 0.8528 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.01523, allocations: 105.3 kB / 0.8529 GB, free: 14.99 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.01531, allocations: 34.95 kB / 0.8529 GB, free: 14.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01544, allocations: 107.4 kB / 0.853 GB, free: 14.85 MB / 0.823 GB Notification: Performance of SimCode: time 6.32e-07/0.01544, allocations: 4 kB / 0.853 GB, free: 14.85 MB / 0.823 GB Notification: Performance of Templates: time 0.005766/0.0212, allocations: 3.609 MB / 0.8565 GB, free: 11.35 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.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.327667957171798]