Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00134/0.00134, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.547/1.547, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009141, allocations: 91.91 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.693e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3169, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.14, allocations: 2.208 GB / 3.414 GB, free: 92.03 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/6.14, allocations: 86.95 kB / 3.414 GB, free: 91.99 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.265/14.4, allocations: 2.072 GB / 5.486 GB, free: 190.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.613e-06/14.4, allocations: 0 / 5.486 GB, free: 190.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001262/14.41, allocations: 133 kB / 5.486 GB, free: 190.3 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02136/14.43, allocations: 5.227 MB / 5.491 GB, free: 188.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/14.43, allocations: 7.531 kB / 5.491 GB, free: 188.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009887/14.44, allocations: 1.236 MB / 5.492 GB, free: 188 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02021/14.46, allocations: 6.781 MB / 5.499 GB, free: 187.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/14.46, allocations: 124.8 kB / 5.499 GB, free: 187.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/14.46, allocations: 240.1 kB / 5.499 GB, free: 187.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0123/14.47, allocations: 4.471 MB / 5.504 GB, free: 187.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/14.49, allocations: 4.958 MB / 5.508 GB, free: 186.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/14.49, allocations: 7.406 kB / 5.508 GB, free: 186.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/14.49, allocations: 5.75 kB / 5.508 GB, free: 186.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002418/14.49, allocations: 192.7 kB / 5.509 GB, free: 186.8 MB / 1.198 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.04248/14.53, allocations: 23.36 MB / 5.531 GB, free: 177.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/14.54, allocations: 4.498 MB / 5.536 GB, free: 176 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/14.54, allocations: 2.027 MB / 5.538 GB, free: 176 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/14.54, allocations: 1.002 MB / 5.539 GB, free: 175 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003391/14.55, allocations: 1.864 MB / 5.541 GB, free: 174.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=272): time 1.158e-05/14.55, allocations: 3.656 kB / 5.541 GB, free: 174.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=276): time 0.0318/14.58, allocations: 9.344 MB / 5.55 GB, free: 170.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/14.58, allocations: 185.3 kB / 5.55 GB, free: 170 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008727/14.59, allocations: 3.607 MB / 5.553 GB, free: 168.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0009586/14.59, allocations: 39.05 kB / 5.553 GB, free: 168.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003137/14.59, allocations: 2.229 MB / 5.556 GB, free: 166.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/14.59, allocations: 0.9174 MB / 5.556 GB, free: 166.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/14.59, allocations: 0 / 5.556 GB, free: 166.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003049/14.6, allocations: 419.3 kB / 5.557 GB, free: 165.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/14.6, allocations: 1.375 MB / 5.558 GB, free: 165.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/14.6, allocations: 2.025 MB / 5.56 GB, free: 164.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/14.6, allocations: 1.901 MB / 5.562 GB, free: 163.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/14.6, allocations: 3.719 kB / 5.562 GB, free: 163.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.008664/14.61, allocations: 4.04 MB / 5.566 GB, free: 162 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001262/14.61, allocations: 5.371 MB / 5.571 GB, free: 156.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/14.61, allocations: 13.94 kB / 5.571 GB, free: 156.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/14.61, allocations: 129.3 kB / 5.571 GB, free: 156.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/14.62, allocations: 0.6203 MB / 5.572 GB, free: 156.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/14.62, allocations: 2.687 MB / 5.575 GB, free: 154.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/14.63, allocations: 466.8 kB / 5.575 GB, free: 154.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006623/14.63, allocations: 111.9 kB / 5.575 GB, free: 154.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/14.63, allocations: 7.562 kB / 5.575 GB, free: 154.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007597/14.63, allocations: 3.636 MB / 5.579 GB, free: 152.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/14.63, allocations: 13.66 kB / 5.579 GB, free: 152.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/14.63, allocations: 117.8 kB / 5.579 GB, free: 152.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/14.64, allocations: 0.6184 MB / 5.579 GB, free: 152.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/14.64, allocations: 2.071 MB / 5.581 GB, free: 151.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/14.64, allocations: 454.1 kB / 5.582 GB, free: 151.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/14.65, allocations: 113.2 kB / 5.582 GB, free: 151.1 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001203/14.65, allocations: 248 kB / 5.582 GB, free: 150.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/14.65, allocations: 420.9 kB / 5.583 GB, free: 150.7 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008468/14.66, allocations: 3.803 MB / 5.586 GB, free: 149.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/14.66, allocations: 28.64 kB / 5.586 GB, free: 149.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/14.66, allocations: 6.75 kB / 5.586 GB, free: 149.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005274/14.66, allocations: 3.24 MB / 5.59 GB, free: 148.1 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.02185/14.68, allocations: 9.807 MB / 5.599 GB, free: 140.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/14.68, allocations: 4 kB / 5.599 GB, free: 140.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/14.69, allocations: 0.622 MB / 5.6 GB, free: 139.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/14.69, allocations: 117.7 kB / 5.6 GB, free: 139.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/14.69, allocations: 50.17 kB / 5.6 GB, free: 139.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/14.69, allocations: 2.653 MB / 5.603 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/14.69, allocations: 11.25 kB / 5.603 GB, free: 137 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/14.7, allocations: 6.18 MB / 5.609 GB, free: 131.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004063/14.7, allocations: 1.049 MB / 5.61 GB, free: 130.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/14.71, allocations: 31.94 kB / 5.61 GB, free: 130.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005498/14.71, allocations: 406.1 kB / 5.61 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/14.71, allocations: 166.5 kB / 5.61 GB, free: 130 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004378/14.71, allocations: 119 kB / 5.61 GB, free: 129.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006712/14.72, allocations: 2.806 MB / 5.613 GB, free: 127.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.4e-07/14.72, allocations: 0 / 5.613 GB, free: 127.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01436/14.73, allocations: 2.539 MB / 5.615 GB, free: 124.9 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005453/14.74, allocations: 2.998 MB / 5.618 GB, free: 122.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009351/14.75, allocations: 5.86 MB / 5.624 GB, free: 117.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/14.75, allocations: 4 kB / 5.624 GB, free: 117.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002683/14.75, allocations: 1.929 MB / 5.626 GB, free: 115.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/14.77, allocations: 2.62 MB / 5.629 GB, free: 113.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/14.79, allocations: 9.926 MB / 5.638 GB, free: 105.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005657/14.8, allocations: 4.053 MB / 5.642 GB, free: 101 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0138/14.81, allocations: 3.954 MB / 5.646 GB, free: 97.09 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/14.81, allocations: 251.4 kB / 5.646 GB, free: 96.84 MB / 1.198 GB Notification: Performance of SimCode: time 1.513e-06/14.81, allocations: 8 kB / 5.646 GB, free: 96.83 MB / 1.198 GB Notification: Performance of Templates: time 0.9953/15.81, allocations: 105.5 MB / 5.749 GB, free: 196 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches