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.0009691/0.0009691, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001622/0.001622, allocations: 161 kB / 24.17 MB, free: 324 kB / 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.034e-05, allocations: 4.984 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.006422/0.006442, allocations: 1.977 MB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005188/0.01163, allocations: 1.62 MB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.01181, allocations: 9.438 kB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.01194, allocations: 59.2 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.01221, allocations: 107.6 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.01285, allocations: 309.4 kB / 0.764 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.01343, allocations: 0.6408 MB / 0.7646 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.01378, allocations: 270.3 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.01717, allocations: 363.3 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.01738, allocations: 186.9 kB / 0.7654 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.01747, allocations: 69.34 kB / 0.7654 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.0176, allocations: 99.84 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.0177, allocations: 123.6 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.01787, allocations: 204.4 kB / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.01833, allocations: 458.2 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01833, allocations: 0 / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01833, allocations: 4.812 kB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.01833, allocations: 0 / 0.7663 GB, free: 184 kB / 0.7136 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.0009005/0.01924, allocations: 0.7175 MB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.01927, allocations: 13.16 kB / 0.767 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.01952, allocations: 92.88 kB / 0.7671 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.02283, allocations: 224.4 kB / 0.7673 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.02288, allocations: 46.41 kB / 0.7673 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.02294, allocations: 56.38 kB / 0.7674 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.02342, allocations: 396.9 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.02344, allocations: 4.172 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.02347, allocations: 21.06 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.02349, allocations: 16.12 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.02371, allocations: 126.9 kB / 0.7679 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.02526, allocations: 0.8785 MB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.02554, allocations: 180.9 kB / 0.769 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.02571, allocations: 95.34 kB / 0.7691 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.02874, allocations: 11.98 kB / 0.7691 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.02894, allocations: 147.6 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.02894, allocations: 0 / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0003078/0.02925, allocations: 181.9 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.02929, allocations: 83.05 kB / 0.7695 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.02948, allocations: 260.8 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.02951, allocations: 33.7 kB / 0.7697 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.02966, allocations: 265.2 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.02974, allocations: 119 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.02985, allocations: 82.14 kB / 0.7702 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.02995, allocations: 343.8 kB / 0.7705 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.03006, allocations: 82.67 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.0302, allocations: 150.5 kB / 0.7707 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.03043, allocations: 217.3 kB / 0.7709 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.03044, allocations: 0 / 0.7709 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003778/0.03082, allocations: 300.5 kB / 0.7712 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.03085, allocations: 33.7 kB / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.03086, allocations: 4 kB / 0.7713 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.03087, allocations: 4 kB / 0.7713 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.03112, allocations: 79.89 kB / 0.7713 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.03113, allocations: 13.42 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.03131, allocations: 51.66 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.03134, allocations: 16.98 kB / 0.7714 GB, free: 10.65 MB / 0.7292 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.0001179/0.03146, allocations: 129.8 kB / 0.7715 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.0315, allocations: 37.75 kB / 0.7716 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.03476, allocations: 176.4 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.03477, allocations: 4 kB / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.03477, allocations: 0 / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03478, allocations: 0.6562 kB / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.03534, allocations: 0.5622 MB / 0.7723 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.03534, allocations: 3.281 kB / 0.7723 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.03551, allocations: 59.91 kB / 0.7724 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.03552, allocations: 4 kB / 0.7724 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.03553, allocations: 8 kB / 0.7724 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.03554, allocations: 4 kB / 0.7724 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.03554, allocations: 7.938 kB / 0.7724 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.03582, allocations: 369.6 kB / 0.7727 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.03586, allocations: 30.22 kB / 0.7728 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.03589, allocations: 8 kB / 0.7728 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.03605, allocations: 16 kB / 0.7728 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.0361, allocations: 27.83 kB / 0.7728 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.03611, allocations: 15.98 kB / 0.7728 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.639e-05/0.0362, allocations: 82.78 kB / 0.7729 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0362, allocations: 1 kB / 0.7729 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000444/0.03664, allocations: 127.5 kB / 0.773 GB, free: 8.914 MB / 0.7292 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.0001264/0.03677, allocations: 97.06 kB / 0.7731 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.0371, allocations: 276.3 kB / 0.7734 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.03711, allocations: 4 kB / 0.7734 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.03722, allocations: 82.77 kB / 0.7735 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.03767, allocations: 54.48 kB / 0.7735 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.03877, allocations: 0.7086 MB / 0.7742 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.03889, allocations: 109.3 kB / 0.7743 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.03901, allocations: 30.22 kB / 0.7744 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.03919, allocations: 111.3 kB / 0.7745 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.03919, allocations: 0 / 0.7745 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of Templates: time 0.006148/0.04534, allocations: 3.618 MB / 0.778 GB, free: 3.965 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] 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","",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.094767841976136]