Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.407/2.407, 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.001495/0.001495, allocations: 172.9 kB / 496.1 MB, free: 12.87 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.777/1.777, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001029/0.001029, allocations: 87.95 kB / 0.9318 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.357e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3846, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.394, allocations: 2.209 GB / 3.428 GB, free: 77.19 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/6.394, allocations: 91.94 kB / 3.428 GB, free: 77.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.646/15.04, allocations: 2.09 GB / 5.518 GB, free: 177.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.294e-06/15.04, allocations: 0 / 5.518 GB, free: 177.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001411/15.04, allocations: 133.4 kB / 5.518 GB, free: 177.6 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.02376/15.07, allocations: 5.23 MB / 5.523 GB, free: 175.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/15.07, allocations: 7.688 kB / 5.523 GB, free: 175.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009682/15.08, allocations: 1.235 MB / 5.524 GB, free: 175.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/15.09, allocations: 6.778 MB / 5.531 GB, free: 174.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/15.1, allocations: 298.7 kB / 5.531 GB, free: 174.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/15.1, allocations: 402 kB / 5.532 GB, free: 174.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/15.11, allocations: 5.524 MB / 5.537 GB, free: 174 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/15.11, allocations: 15.5 kB / 5.537 GB, free: 174 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005922/15.11, allocations: 165.4 kB / 5.537 GB, free: 174 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/15.11, allocations: 195.6 kB / 5.537 GB, free: 174 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/15.12, allocations: 4.803 MB / 5.542 GB, free: 174 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.0434/15.16, allocations: 24.13 MB / 5.566 GB, free: 161.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/15.17, allocations: 3.561 MB / 5.569 GB, free: 160.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/15.17, allocations: 2.132 MB / 5.571 GB, free: 159.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/15.17, allocations: 1.002 MB / 5.572 GB, free: 158.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003063/15.18, allocations: 1.893 MB / 5.574 GB, free: 157.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=273): time 6.072e-06/15.18, allocations: 0 / 5.574 GB, free: 157.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=277): time 0.02104/15.2, allocations: 8.333 MB / 5.582 GB, free: 153.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/15.2, allocations: 132.6 kB / 5.582 GB, free: 153.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008003/15.21, allocations: 3.897 MB / 5.586 GB, free: 152.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/15.21, allocations: 90.48 kB / 5.586 GB, free: 152.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003002/15.21, allocations: 2.229 MB / 5.588 GB, free: 150.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/15.21, allocations: 0.9464 MB / 5.589 GB, free: 149.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/15.21, allocations: 54.25 kB / 5.589 GB, free: 149.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002164/15.21, allocations: 418.1 kB / 5.59 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/15.22, allocations: 1.479 MB / 5.591 GB, free: 148.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/15.22, allocations: 2.124 MB / 5.593 GB, free: 147.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/15.22, allocations: 1.943 MB / 5.595 GB, free: 146.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/15.22, allocations: 3.562 kB / 5.595 GB, free: 146.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.008856/15.23, allocations: 4.307 MB / 5.599 GB, free: 144.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001569/15.23, allocations: 5.212 MB / 5.605 GB, free: 138.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/15.23, allocations: 13.88 kB / 5.605 GB, free: 138.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/15.23, allocations: 120 kB / 5.605 GB, free: 138.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/15.23, allocations: 0.6225 MB / 5.605 GB, free: 138.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/15.24, allocations: 2.751 MB / 5.608 GB, free: 135.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/15.24, allocations: 0.5145 MB / 5.608 GB, free: 135 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006783/15.24, allocations: 115.3 kB / 5.609 GB, free: 134.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/15.24, allocations: 4 kB / 5.609 GB, free: 134.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006373/15.25, allocations: 3.96 MB / 5.612 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/15.25, allocations: 14.39 kB / 5.612 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/15.25, allocations: 118.8 kB / 5.613 GB, free: 131.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/15.25, allocations: 0.6191 MB / 5.613 GB, free: 130.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/15.26, allocations: 2.136 MB / 5.615 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006534/15.26, allocations: 0.5041 MB / 5.616 GB, free: 128.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006259/15.26, allocations: 115.4 kB / 5.616 GB, free: 128.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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.001039/15.26, allocations: 338.4 kB / 5.616 GB, free: 127.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/15.27, allocations: 430.8 kB / 5.617 GB, free: 127.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007448/15.27, allocations: 4.143 MB / 5.621 GB, free: 123.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/15.27, allocations: 24 kB / 5.621 GB, free: 123.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/15.27, allocations: 4 kB / 5.621 GB, free: 123.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004576/15.28, allocations: 3.472 MB / 5.624 GB, free: 120.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 postOpt removeSimpleEquations (simulation): time 0.02024/15.3, allocations: 10.54 MB / 5.634 GB, free: 111.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/15.3, allocations: 4 kB / 5.634 GB, free: 111.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/15.3, allocations: 0.619 MB / 5.635 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/15.3, allocations: 115.7 kB / 5.635 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/15.3, allocations: 79.97 kB / 5.635 GB, free: 110.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/15.3, allocations: 2.724 MB / 5.638 GB, free: 107.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/15.3, allocations: 10.47 kB / 5.638 GB, free: 107.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009173/15.31, allocations: 6.551 MB / 5.644 GB, free: 100.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004314/15.32, allocations: 1.066 MB / 5.645 GB, free: 99.54 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/15.32, allocations: 75.97 kB / 5.645 GB, free: 99.46 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005954/15.32, allocations: 454.5 kB / 5.646 GB, free: 99.05 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/15.33, allocations: 172.3 kB / 5.646 GB, free: 98.88 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003817/15.33, allocations: 111.9 kB / 5.646 GB, free: 98.77 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006579/15.33, allocations: 3.071 MB / 5.649 GB, free: 95.68 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.61e-07/15.33, allocations: 2.031 kB / 5.649 GB, free: 95.68 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01756/15.35, allocations: 2.742 MB / 5.652 GB, free: 92.94 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (266): * Single equations (assignments): 258 * 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.00544/15.36, allocations: 2.805 MB / 5.654 GB, free: 90.55 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009847/15.36, allocations: 6.253 MB / 5.661 GB, free: 84.19 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/15.37, allocations: 0 / 5.661 GB, free: 84.19 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002763/15.37, allocations: 2.056 MB / 5.663 GB, free: 82.09 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01521/15.38, allocations: 2.78 MB / 5.665 GB, free: 79.45 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/15.41, allocations: 10.13 MB / 5.675 GB, free: 69.29 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/15.41, allocations: 4.05 MB / 5.679 GB, free: 65.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01384/15.42, allocations: 3.99 MB / 5.683 GB, free: 61.29 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/15.42, allocations: 259.4 kB / 5.683 GB, free: 61.03 MB / 1.198 GB Notification: Performance of SimCode: time 1.683e-06/15.42, allocations: 0 / 5.683 GB, free: 61.03 MB / 1.198 GB Notification: Performance of Templates: time 2.068/17.49, allocations: 135.9 MB / 5.816 GB, free: 168.8 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches