Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.3 MB / 402.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 91.91 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.08e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3797, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.97/7.35, allocations: 1.932 GB / 3.151 GB, free: 326.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/7.35, allocations: 89.45 kB / 3.151 GB, free: 326.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.923/11.27, allocations: 1.05 GB / 4.201 GB, free: 162.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/11.27, allocations: 0 / 4.201 GB, free: 162.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002989/11.27, allocations: 47.98 kB / 4.201 GB, free: 162.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006301/11.28, allocations: 2.064 MB / 4.203 GB, free: 159.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/11.28, allocations: 15.97 kB / 4.203 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/11.28, allocations: 0.6182 MB / 4.204 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/11.29, allocations: 1.437 MB / 4.205 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/11.29, allocations: 150.2 kB / 4.206 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/11.29, allocations: 127.9 kB / 4.206 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/11.29, allocations: 1.363 MB / 4.207 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/11.29, allocations: 0 / 4.207 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/11.29, allocations: 48 kB / 4.207 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/11.29, allocations: 42.22 kB / 4.207 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/11.29, allocations: 1.051 MB / 4.208 GB, free: 154.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00818/11.3, allocations: 5.873 MB / 4.214 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/11.3, allocations: 0.9817 MB / 4.215 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/11.3, allocations: 483.1 kB / 4.215 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/11.31, allocations: 312 kB / 4.216 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/11.31, allocations: 0.5423 MB / 4.216 GB, free: 146.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/11.31, allocations: 0 / 4.216 GB, free: 146.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.006509/11.31, allocations: 2.985 MB / 4.219 GB, free: 143.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/11.31, allocations: 196.7 kB / 4.219 GB, free: 143 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/11.31, allocations: 1.145 MB / 4.22 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/11.31, allocations: 49.64 kB / 4.22 GB, free: 141.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/11.32, allocations: 0.7294 MB / 4.221 GB, free: 141.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/11.32, allocations: 319.3 kB / 4.221 GB, free: 140.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/11.32, allocations: 20 kB / 4.221 GB, free: 140.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/11.32, allocations: 345.9 kB / 4.222 GB, free: 140.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/11.32, allocations: 377.9 kB / 4.222 GB, free: 140 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/11.32, allocations: 0.5912 MB / 4.223 GB, free: 139.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0096/11.33, allocations: 2.35 MB / 4.225 GB, free: 137 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/11.33, allocations: 0 / 4.225 GB, free: 137 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003657/11.33, allocations: 1.623 MB / 4.227 GB, free: 135.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/11.33, allocations: 1.301 MB / 4.228 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/11.33, allocations: 4 kB / 4.228 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/11.33, allocations: 410.1 kB / 4.228 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/11.33, allocations: 171.8 kB / 4.228 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/11.34, allocations: 6.696 MB / 4.235 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/11.34, allocations: 147.7 kB / 4.235 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/11.34, allocations: 39.98 kB / 4.235 GB, free: 126 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/11.34, allocations: 8 kB / 4.235 GB, free: 126 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/11.34, allocations: 1.468 MB / 4.237 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/11.34, allocations: 4 kB / 4.237 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/11.34, allocations: 395.5 kB / 4.237 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/11.34, allocations: 191.7 kB / 4.237 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/11.35, allocations: 7.685 MB / 4.245 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/11.35, allocations: 143.8 kB / 4.245 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/11.35, allocations: 36 kB / 4.245 GB, free: 115.5 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/11.35, allocations: 203.4 kB / 4.245 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/11.35, allocations: 166 kB / 4.245 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/11.36, allocations: 1.449 MB / 4.247 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/11.36, allocations: 8 kB / 4.247 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/11.36, allocations: 3.938 kB / 4.247 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002411/11.36, allocations: 1.291 MB / 4.248 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/11.37, allocations: 3.325 MB / 4.251 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/11.37, allocations: 6.844 kB / 4.251 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/11.37, allocations: 192.1 kB / 4.251 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/11.37, allocations: 201.5 kB / 4.251 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/11.37, allocations: 31.98 kB / 4.251 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/11.37, allocations: 2.501 MB / 4.254 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/11.37, allocations: 7.953 kB / 4.254 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/11.37, allocations: 2.382 MB / 4.256 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/11.37, allocations: 367 kB / 4.257 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/11.37, allocations: 31.94 kB / 4.257 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/11.38, allocations: 143.7 kB / 4.257 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/11.38, allocations: 60.66 kB / 4.257 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/11.38, allocations: 39.98 kB / 4.257 GB, free: 102.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00127/11.38, allocations: 0.8976 MB / 4.258 GB, free: 101.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/11.38, allocations: 3.938 kB / 4.258 GB, free: 101.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003831/11.38, allocations: 1.023 MB / 4.259 GB, free: 100.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003639/11.38, allocations: 2.366 MB / 4.261 GB, free: 98.11 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003822/11.39, allocations: 2.661 MB / 4.264 GB, free: 95.34 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/11.39, allocations: 4.062 kB / 4.264 GB, free: 95.34 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/11.39, allocations: 0.7051 MB / 4.264 GB, free: 94.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/11.39, allocations: 0.8592 MB / 4.265 GB, free: 93.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/11.4, allocations: 2.603 MB / 4.268 GB, free: 91.07 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/11.4, allocations: 1.386 MB / 4.269 GB, free: 89.65 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00234/11.4, allocations: 496.6 kB / 4.27 GB, free: 89.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/11.4, allocations: 87.42 kB / 4.27 GB, free: 89.07 MB / 1.167 GB Notification: Performance of SimCode: time 1.492e-06/11.4, allocations: 0 / 4.27 GB, free: 89.07 MB / 1.167 GB Notification: Performance of Templates: time 0.09327/11.5, allocations: 70.02 MB / 4.338 GB, free: 19.23 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches