Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 183.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 86.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 10.97 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2477, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4308, allocations: 132.3 MB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4311, allocations: 71.97 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005439/0.4365, allocations: 1.867 MB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4366, allocations: 0 / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4366, allocations: 4 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007008/0.4373, allocations: 446.7 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4373, allocations: 15.91 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.4374, allocations: 15.81 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4377, allocations: 198.8 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4377, allocations: 4 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.4377, allocations: 8 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.438, allocations: 127.2 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.438, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4381, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4381, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.4384, allocations: 111.9 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.4391, allocations: 472.7 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.4395, allocations: 137.3 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.4396, allocations: 4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.4397, allocations: 34.56 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4397, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0006085/0.4403, allocations: 209.4 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4403, allocations: 81.11 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4405, allocations: 158.7 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4405, allocations: 25.7 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.4406, allocations: 112.2 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4407, allocations: 31.61 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.4407, allocations: 4 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4408, allocations: 322.8 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4409, allocations: 47.97 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4411, allocations: 73.61 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4413, allocations: 47.98 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4413, allocations: 4 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003618/0.4416, allocations: 153.5 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4417, allocations: 4 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4417, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4417, allocations: 4.188 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.4419, allocations: 39.86 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4419, allocations: 3.938 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.442, allocations: 15.89 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.442, allocations: 4 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.4422, allocations: 121.8 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.4422, allocations: 16.03 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.4427, allocations: 182.4 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4427, allocations: 4.422 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4427, allocations: 3.953 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4427, allocations: 0 / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.443, allocations: 221.6 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.443, allocations: 0 / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.4432, allocations: 27.92 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4432, allocations: 0 / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4432, allocations: 4 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4432, allocations: 4 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4432, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.4437, allocations: 344.2 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.4437, allocations: 85.02 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.4438, allocations: 4 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.444, allocations: 11.98 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.444, allocations: 11.94 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.444, allocations: 12 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.678e-05/0.4441, allocations: 123.5 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4442, allocations: 0 / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002679/0.4444, allocations: 32 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4446, allocations: 95.25 kB / 1.035 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.4449, allocations: 123.9 kB / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4449, allocations: 0 / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4451, allocations: 59.91 kB / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4455, allocations: 40.7 kB / 1.035 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.4461, allocations: 261.5 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4465, allocations: 0.7048 MB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.903e-05/0.4466, allocations: 16.64 kB / 1.036 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.4467, allocations: 15.44 kB / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.4467, allocations: 0 / 1.036 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.004883/0.4516, allocations: 1.837 MB / 1.038 GB, free: 1.984 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches