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.001244/0.001244, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001454/0.001454, allocations: 161 kB / 24.17 MB, free: 328 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.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.951/1.951, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.042e-06/1.042e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.161e-05, allocations: 4.984 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.005826/0.005838, allocations: 2.024 MB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005007/0.01085, allocations: 1.631 MB / 0.7636 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.01102, allocations: 9.125 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.01113, allocations: 63.19 kB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.01136, allocations: 92.02 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.01191, allocations: 308.6 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.01243, allocations: 0.6486 MB / 0.7647 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.01275, allocations: 262.3 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.01307, allocations: 364.5 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.01326, allocations: 183.4 kB / 0.7655 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003075/0.01634, allocations: 68 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.01648, allocations: 96.7 kB / 0.7656 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.01656, allocations: 131.6 kB / 0.7657 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01671, allocations: 196 kB / 0.7659 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.01711, allocations: 467 kB / 0.7664 GB, free: 100 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01712, allocations: 4 kB / 0.7664 GB, free: 96 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01712, allocations: 0 / 0.7664 GB, free: 96 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.01712, allocations: 1 kB / 0.7664 GB, free: 96 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.0009262/0.01805, allocations: 0.7134 MB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.01808, allocations: 8.031 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.01832, allocations: 97.52 kB / 0.7672 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.0186, allocations: 233.1 kB / 0.7674 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.01864, allocations: 45.69 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.01869, allocations: 53.12 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.0191, allocations: 387.9 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01911, allocations: 2.25 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.01914, allocations: 24.38 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.01915, allocations: 16.38 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.02234, allocations: 125.1 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.02348, allocations: 0.891 MB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.02374, allocations: 184.3 kB / 0.7691 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.02389, allocations: 96.91 kB / 0.7692 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.02391, allocations: 7.938 kB / 0.7692 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.02407, allocations: 142.9 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.452e-06/0.02407, allocations: 0 / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.000269/0.02434, allocations: 185.4 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.02438, allocations: 85.05 kB / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.02456, allocations: 255.9 kB / 0.7698 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.02458, allocations: 33.7 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.0247, allocations: 269.2 kB / 0.7701 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.02477, allocations: 115 kB / 0.7702 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.02487, allocations: 82.14 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.02496, allocations: 342.8 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.02506, allocations: 78.67 kB / 0.7707 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.02519, allocations: 157.4 kB / 0.7708 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/0.0284, allocations: 214.3 kB / 0.771 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0284, allocations: 0.625 kB / 0.771 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003188/0.02872, allocations: 291.8 kB / 0.7713 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.02875, allocations: 41.69 kB / 0.7714 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.02876, allocations: 6.438 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.02877, allocations: 4 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.02902, allocations: 83.83 kB / 0.7715 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02902, allocations: 4 kB / 0.7715 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.02918, allocations: 51.72 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.02921, allocations: 19.11 kB / 0.7715 GB, free: 10.57 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.0001028/0.02931, allocations: 133.7 kB / 0.7717 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.02935, allocations: 39.84 kB / 0.7717 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.02957, allocations: 169.1 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02958, allocations: 4 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.02958, allocations: 4 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.02959, allocations: 1.25 kB / 0.7719 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.03008, allocations: 0.5673 MB / 0.7724 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03008, allocations: 1.438 kB / 0.7724 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.03024, allocations: 59.91 kB / 0.7725 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.03024, allocations: 6.438 kB / 0.7725 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.03026, allocations: 12 kB / 0.7725 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.03026, allocations: 7.922 kB / 0.7725 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03027, allocations: 4 kB / 0.7725 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.0305, allocations: 363 kB / 0.7728 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.03054, allocations: 31.75 kB / 0.7729 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.03056, allocations: 14.14 kB / 0.7729 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.03069, allocations: 8 kB / 0.7729 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.03074, allocations: 31.89 kB / 0.7729 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.03075, allocations: 8 kB / 0.7729 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.03083, allocations: 90.75 kB / 0.773 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.03083, allocations: 4 kB / 0.773 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003353/0.03418, allocations: 124.9 kB / 0.7731 GB, free: 8.82 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.0001069/0.03429, allocations: 96.34 kB / 0.7732 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.03457, allocations: 277.6 kB / 0.7735 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.03458, allocations: 4 kB / 0.7735 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/0.03468, allocations: 87.38 kB / 0.7736 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.03504, allocations: 52.33 kB / 0.7736 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.03603, allocations: 0.7057 MB / 0.7743 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.0361, allocations: 109.3 kB / 0.7744 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.03618, allocations: 30.41 kB / 0.7745 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.03631, allocations: 103.3 kB / 0.7746 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.03631, allocations: 0.9688 kB / 0.7746 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of Templates: time 0.005431/0.04174, allocations: 3.626 MB / 0.7781 GB, free: 3.852 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 -s gbode -gbm=radauIIA3 -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.098514247685671]