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.691/2.691, allocations: 390.5 MB / 398 MB, free: 10.93 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.001474/0.001474, allocations: 180.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.926/1.926, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001124/0.001124, allocations: 103.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 11.98 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3369, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.627/6.964, allocations: 1.932 GB / 3.144 GB, free: 338.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.964, allocations: 93.03 kB / 3.144 GB, free: 338.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.927/10.89, allocations: 1.039 GB / 4.183 GB, free: 160.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.844e-06/10.89, allocations: 3.938 kB / 4.183 GB, free: 160.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003155/10.89, allocations: 47.12 kB / 4.183 GB, free: 160.6 MB / 1.151 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.006476/10.9, allocations: 2.062 MB / 4.185 GB, free: 158.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/10.9, allocations: 15.42 kB / 4.185 GB, free: 158.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/10.9, allocations: 0.6315 MB / 4.186 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/10.91, allocations: 1.426 MB / 4.187 GB, free: 156.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/10.91, allocations: 118.2 kB / 4.188 GB, free: 156.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005425/10.91, allocations: 75.98 kB / 4.188 GB, free: 156.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002701/10.91, allocations: 0.9769 MB / 4.189 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/10.91, allocations: 1.195 MB / 4.19 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/10.91, allocations: 11.89 kB / 4.19 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/10.91, allocations: 0 / 4.19 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/10.91, allocations: 42.22 kB / 4.19 GB, free: 153.9 MB / 1.151 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.009719/10.92, allocations: 5.615 MB / 4.195 GB, free: 148.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/10.93, allocations: 0.9435 MB / 4.196 GB, free: 147.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/10.93, allocations: 470.8 kB / 4.197 GB, free: 146.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/10.93, allocations: 315.3 kB / 4.197 GB, free: 146.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/10.93, allocations: 0.5057 MB / 4.197 GB, free: 145.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=87): time 5.39e-06/10.93, allocations: 0 / 4.197 GB, free: 145.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.007486/10.93, allocations: 2.932 MB / 4.2 GB, free: 142.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/10.93, allocations: 192.7 kB / 4.2 GB, free: 142.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/10.94, allocations: 0.9135 MB / 4.201 GB, free: 141.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/10.94, allocations: 29.7 kB / 4.201 GB, free: 141.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006678/10.94, allocations: 0.7242 MB / 4.202 GB, free: 140.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/10.94, allocations: 311.4 kB / 4.202 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/10.94, allocations: 0 / 4.202 GB, free: 140.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/10.94, allocations: 349.9 kB / 4.203 GB, free: 140.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/10.94, allocations: 358.5 kB / 4.203 GB, free: 139.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/10.94, allocations: 0.5717 MB / 4.204 GB, free: 139.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/10.94, allocations: 1.326 MB / 4.205 GB, free: 137.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/10.94, allocations: 4 kB / 4.205 GB, free: 137.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00379/10.95, allocations: 1.576 MB / 4.206 GB, free: 136.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/10.95, allocations: 1.294 MB / 4.208 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/10.95, allocations: 4 kB / 4.208 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009207/10.95, allocations: 406.6 kB / 4.208 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/10.95, allocations: 175.8 kB / 4.208 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/10.95, allocations: 6.326 MB / 4.214 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/10.96, allocations: 123.8 kB / 4.215 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/10.96, allocations: 43.98 kB / 4.215 GB, free: 127.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/10.96, allocations: 4 kB / 4.215 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003444/10.96, allocations: 1.4 MB / 4.216 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/10.96, allocations: 4 kB / 4.216 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/10.96, allocations: 395.5 kB / 4.216 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/10.96, allocations: 179.8 kB / 4.217 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/10.97, allocations: 7.259 MB / 4.224 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/10.97, allocations: 119.8 kB / 4.224 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/10.97, allocations: 43.94 kB / 4.224 GB, free: 117.5 MB / 1.151 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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.0004252/10.97, allocations: 159.8 kB / 4.224 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/10.97, allocations: 154.1 kB / 4.224 GB, free: 117.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/10.97, allocations: 1.382 MB / 4.225 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/10.97, allocations: 10.84 kB / 4.225 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/10.97, allocations: 0 / 4.225 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/10.98, allocations: 1.27 MB / 4.227 GB, free: 114.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/10.98, allocations: 3.109 MB / 4.23 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.98, allocations: 4 kB / 4.23 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/10.98, allocations: 192.1 kB / 4.23 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/10.98, allocations: 193.6 kB / 4.23 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/10.98, allocations: 16 kB / 4.23 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/10.99, allocations: 2.434 MB / 4.232 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/10.99, allocations: 7.938 kB / 4.232 GB, free: 108.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/10.99, allocations: 2.323 MB / 4.235 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/10.99, allocations: 347.1 kB / 4.235 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00055/10.99, allocations: 12 kB / 4.235 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/10.99, allocations: 123.9 kB / 4.235 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/10.99, allocations: 64.59 kB / 4.235 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/10.99, allocations: 43.97 kB / 4.235 GB, free: 105.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001419/11, allocations: 0.6992 MB / 4.236 GB, free: 104.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.21e-07/11, allocations: 0 / 4.236 GB, free: 104.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005427/11, allocations: 0.9724 MB / 4.237 GB, free: 103.5 MB / 1.151 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.004404/11.01, allocations: 2.632 MB / 4.24 GB, free: 101 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003737/11.01, allocations: 2.531 MB / 4.242 GB, free: 98.34 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/11.01, allocations: 0 / 4.242 GB, free: 98.34 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/11.01, allocations: 0.66 MB / 4.243 GB, free: 97.66 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/11.01, allocations: 0.7081 MB / 4.243 GB, free: 96.95 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/11.02, allocations: 2.526 MB / 4.246 GB, free: 94.34 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/11.02, allocations: 1.389 MB / 4.247 GB, free: 92.93 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002152/11.02, allocations: 435.3 kB / 4.248 GB, free: 92.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/11.02, allocations: 79.42 kB / 4.248 GB, free: 92.42 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/11.02, allocations: 0 / 4.248 GB, free: 92.42 MB / 1.151 GB Notification: Performance of Templates: time 0.06895/11.09, allocations: 45.94 MB / 4.293 GB, free: 46.76 MB / 1.151 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