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.001391/0.001391, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001664/0.001664, allocations: 169 kB / 24.06 MB, free: 452 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.191/2.191, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 3.236e-06/3.236e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.693e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002997/0.003034, allocations: 1.977 MB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.005217, allocations: 1.594 MB / 0.8829 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.005462, allocations: 9.312 kB / 0.8829 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.005579, allocations: 59.2 kB / 0.8829 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.00588, allocations: 104 kB / 0.883 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.006641, allocations: 308 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.007325, allocations: 0.6447 MB / 0.8839 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.007694, allocations: 251 kB / 0.8842 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.00807, allocations: 363.3 kB / 0.8845 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.008277, allocations: 187.1 kB / 0.8847 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.008346, allocations: 68 kB / 0.8848 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.008487, allocations: 95.91 kB / 0.8849 GB, free: 428 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.008567, allocations: 131.5 kB / 0.885 GB, free: 296 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.008717, allocations: 191.6 kB / 0.8852 GB, free: 104 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.009275, allocations: 470 kB / 0.8856 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.009281, allocations: 0 / 0.8856 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.974e-06/0.009283, allocations: 0 / 0.8856 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.009294, allocations: 0 / 0.8856 GB, free: 15.64 MB / 0.8542 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.001099/0.01039, allocations: 0.85 MB / 0.8864 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.01044, allocations: 8.031 kB / 0.8865 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.01069, allocations: 117.5 kB / 0.8866 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.01102, allocations: 291.1 kB / 0.8868 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.01106, allocations: 42.78 kB / 0.8869 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.01111, allocations: 60.36 kB / 0.8869 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.01154, allocations: 381.7 kB / 0.8873 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01155, allocations: 1.781 kB / 0.8873 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.01158, allocations: 20.38 kB / 0.8873 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.0116, allocations: 16.36 kB / 0.8873 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.01176, allocations: 152.9 kB / 0.8875 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.01307, allocations: 1.172 MB / 0.8886 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.01339, allocations: 200.3 kB / 0.8888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.01355, allocations: 107.2 kB / 0.8889 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.01359, allocations: 8.703 kB / 0.8889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.0138, allocations: 163.3 kB / 0.8891 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/0.0138, allocations: 1.656 kB / 0.8891 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.000565/0.01437, allocations: 242.6 kB / 0.8893 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.01442, allocations: 81.11 kB / 0.8894 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.01463, allocations: 308.1 kB / 0.8897 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.01466, allocations: 34.27 kB / 0.8897 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.01484, allocations: 336.3 kB / 0.8901 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.0149, allocations: 119 kB / 0.8902 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.015, allocations: 87.75 kB / 0.8902 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01515, allocations: 0.5196 MB / 0.8908 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.01526, allocations: 90.64 kB / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.01541, allocations: 188 kB / 0.891 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.01562, allocations: 224.9 kB / 0.8912 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.01562, allocations: 4 kB / 0.8912 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003968/0.01602, allocations: 370 kB / 0.8916 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.01606, allocations: 41.69 kB / 0.8916 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01607, allocations: 0 / 0.8916 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01609, allocations: 7.984 kB / 0.8916 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01628, allocations: 75.84 kB / 0.8917 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01629, allocations: 4 kB / 0.8917 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.01644, allocations: 59.64 kB / 0.8918 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.01647, allocations: 20.19 kB / 0.8918 GB, free: 8.973 MB / 0.8542 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.0001465/0.01661, allocations: 184.4 kB / 0.892 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.01666, allocations: 39.81 kB / 0.892 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.01697, allocations: 211.5 kB / 0.8922 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01698, allocations: 4 kB / 0.8922 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01698, allocations: 0 / 0.8922 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.01699, allocations: 3.984 kB / 0.8922 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007381/0.01773, allocations: 0.7564 MB / 0.893 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01773, allocations: 0 / 0.893 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01787, allocations: 55.91 kB / 0.893 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.01788, allocations: 4 kB / 0.893 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01789, allocations: 8 kB / 0.893 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.0179, allocations: 7.938 kB / 0.893 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0179, allocations: 0 / 0.893 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.01825, allocations: 0.5263 MB / 0.8935 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.01828, allocations: 31.91 kB / 0.8936 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01831, allocations: 16 kB / 0.8936 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01841, allocations: 15.98 kB / 0.8936 GB, free: 7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.01846, allocations: 31.89 kB / 0.8936 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01847, allocations: 4 kB / 0.8936 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001075/0.01858, allocations: 205.1 kB / 0.8938 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01858, allocations: 0 / 0.8938 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003699/0.01895, allocations: 119.6 kB / 0.8939 GB, free: 6.645 MB / 0.8542 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.00018/0.01913, allocations: 115.1 kB / 0.8941 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.01947, allocations: 289.4 kB / 0.8943 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01947, allocations: 0 / 0.8943 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.01956, allocations: 91.44 kB / 0.8944 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01994, allocations: 61.09 kB / 0.8945 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.02112, allocations: 0.7223 MB / 0.8952 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.261e-05/0.02121, allocations: 109.3 kB / 0.8953 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.02132, allocations: 34.97 kB / 0.8953 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.02148, allocations: 134.2 kB / 0.8954 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of SimCode: time 2.024e-06/0.02149, allocations: 0 / 0.8954 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of Templates: time 0.007466/0.02895, allocations: 3.769 MB / 0.8991 GB, free: 1.316 MB / 0.8542 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: 6.0277048400603235]