Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001141/0.001141, allocations: 175.1 kB / 326.5 MB, free: 2.238 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.918/1.918, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009826/0.0009826, allocations: 82.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 11.44 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.813/5.033, allocations: 2.204 GB / 3.104 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/5.034, allocations: 100.5 kB / 3.105 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.405/8.439, allocations: 1.007 GB / 4.112 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.944e-06/8.439, allocations: 1.25 kB / 4.112 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003166/8.439, allocations: 47.36 kB / 4.112 GB, free: 133.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007831/8.447, allocations: 2.385 MB / 4.114 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/8.447, allocations: 10.81 kB / 4.114 GB, free: 132.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/8.451, allocations: 0.6168 MB / 4.115 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/8.457, allocations: 1.451 MB / 4.116 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/8.457, allocations: 166.1 kB / 4.117 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/8.457, allocations: 120.4 kB / 4.117 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/8.461, allocations: 1.469 MB / 4.118 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/8.461, allocations: 7.922 kB / 4.118 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/8.461, allocations: 50.34 kB / 4.118 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/8.461, allocations: 40.61 kB / 4.118 GB, free: 132 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/8.463, allocations: 1.251 MB / 4.119 GB, free: 132 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009264/8.473, allocations: 5.878 MB / 4.125 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/8.475, allocations: 1.152 MB / 4.126 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/8.475, allocations: 311.1 kB / 4.127 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/8.476, allocations: 0.6367 MB / 4.127 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 3.606e-06/8.476, allocations: 0 / 4.127 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.01082/8.487, allocations: 4.411 MB / 4.132 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/8.487, allocations: 195 kB / 4.132 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/8.489, allocations: 1.164 MB / 4.133 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/8.489, allocations: 48.05 kB / 4.133 GB, free: 127.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/8.49, allocations: 0.7213 MB / 4.134 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/8.49, allocations: 324.3 kB / 4.134 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/8.49, allocations: 20.84 kB / 4.134 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/8.49, allocations: 339.4 kB / 4.134 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/8.491, allocations: 481 kB / 4.135 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/8.492, allocations: 0.7085 MB / 4.135 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/8.503, allocations: 2.537 MB / 4.138 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/8.503, allocations: 3.562 kB / 4.138 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004425/8.507, allocations: 1.82 MB / 4.14 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/8.508, allocations: 1.291 MB / 4.141 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/8.508, allocations: 6.844 kB / 4.141 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/8.509, allocations: 458.6 kB / 4.141 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/8.51, allocations: 172.8 kB / 4.142 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/8.517, allocations: 7.162 MB / 4.149 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/8.519, allocations: 164 kB / 4.149 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/8.519, allocations: 43.36 kB / 4.149 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/8.519, allocations: 3.812 kB / 4.149 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003975/8.523, allocations: 1.66 MB / 4.15 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/8.523, allocations: 3.031 kB / 4.15 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/8.524, allocations: 441.5 kB / 4.151 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/8.525, allocations: 176.1 kB / 4.151 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008341/8.533, allocations: 8.184 MB / 4.159 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/8.535, allocations: 157.7 kB / 4.159 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/8.535, allocations: 44.62 kB / 4.159 GB, free: 115.1 MB / 0.9011 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001392/8.537, allocations: 0.4955 MB / 4.16 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006282/8.537, allocations: 169.2 kB / 4.16 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/8.542, allocations: 1.673 MB / 4.161 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/8.542, allocations: 11.69 kB / 4.161 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/8.542, allocations: 3.859 kB / 4.161 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003491/8.545, allocations: 1.521 MB / 4.163 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/8.552, allocations: 3.55 MB / 4.166 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/8.552, allocations: 2.812 kB / 4.166 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008952/8.553, allocations: 193.1 kB / 4.167 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/8.554, allocations: 244.4 kB / 4.167 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/8.554, allocations: 30.75 kB / 4.167 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/8.557, allocations: 2.694 MB / 4.169 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/8.557, allocations: 6.281 kB / 4.169 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/8.562, allocations: 2.711 MB / 4.172 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/8.563, allocations: 363.8 kB / 4.172 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/8.563, allocations: 30.16 kB / 4.173 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/8.565, allocations: 143.8 kB / 4.173 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/8.565, allocations: 68.8 kB / 4.173 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/8.565, allocations: 40.97 kB / 4.173 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00126/8.566, allocations: 0.9138 MB / 4.174 GB, free: 111 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.9e-07/8.566, allocations: 3 kB / 4.174 GB, free: 111 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003486/8.57, allocations: 0.9946 MB / 4.175 GB, free: 111 MB / 0.9011 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.00339/8.573, allocations: 2.368 MB / 4.177 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00457/8.578, allocations: 2.955 MB / 4.18 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/8.578, allocations: 3.312 kB / 4.18 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/8.579, allocations: 0.802 MB / 4.181 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/8.583, allocations: 0.8729 MB / 4.181 GB, free: 109 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/8.59, allocations: 3.945 MB / 4.185 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/8.59, allocations: 1.39 MB / 4.187 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001755/8.592, allocations: 350.6 kB / 4.187 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/8.593, allocations: 109.2 kB / 4.187 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.022e-06/8.593, allocations: 0 / 4.187 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.08098/8.674, allocations: 62.07 MB / 4.248 GB, free: 104.3 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches