Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001119/0.001118, allocations: 175.1 kB / 326.5 MB, free: 2.246 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.598/1.598, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009191/0.0009191, allocations: 93.84 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 12.34 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/4.889, allocations: 2.484 GB / 3.385 GB, free: 27.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/4.89, allocations: 92.16 kB / 3.385 GB, free: 27.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.688/11.58, allocations: 2.007 GB / 5.391 GB, free: 102 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.833e-06/11.58, allocations: 0 / 5.391 GB, free: 102 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009099/11.58, allocations: 138 kB / 5.391 GB, free: 101.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02117/11.6, allocations: 6.315 MB / 5.398 GB, free: 95.45 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/11.6, allocations: 8.031 kB / 5.398 GB, free: 95.44 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008735/11.61, allocations: 1.245 MB / 5.399 GB, free: 94.19 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/11.62, allocations: 6.737 MB / 5.405 GB, free: 87.42 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/11.62, allocations: 303.8 kB / 5.406 GB, free: 87.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/11.63, allocations: 419.9 kB / 5.406 GB, free: 86.71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/11.64, allocations: 5.621 MB / 5.412 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/11.64, allocations: 11.84 kB / 5.412 GB, free: 80.97 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/11.64, allocations: 164 kB / 5.412 GB, free: 80.81 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/11.64, allocations: 191.7 kB / 5.412 GB, free: 80.62 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008428/11.64, allocations: 4.953 MB / 5.417 GB, free: 75.67 MB / 0.9323 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.0383/11.68, allocations: 24.02 MB / 5.44 GB, free: 50.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/11.69, allocations: 3.669 MB / 5.444 GB, free: 46.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009575/11.69, allocations: 1.002 MB / 5.445 GB, free: 45.38 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002502/11.69, allocations: 1.882 MB / 5.447 GB, free: 43.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=273): time 4.408e-06/11.69, allocations: 7.391 kB / 5.447 GB, free: 43.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=277): time 0.01745/11.71, allocations: 9.872 MB / 5.456 GB, free: 33.31 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/11.71, allocations: 136.9 kB / 5.456 GB, free: 33.15 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006/11.71, allocations: 3.935 MB / 5.46 GB, free: 29.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006194/11.72, allocations: 89.64 kB / 5.46 GB, free: 29.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/11.72, allocations: 2.22 MB / 5.462 GB, free: 26.87 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/11.72, allocations: 0.9512 MB / 5.463 GB, free: 25.91 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/11.72, allocations: 56 kB / 5.463 GB, free: 25.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001675/11.72, allocations: 423.6 kB / 5.464 GB, free: 25.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/11.72, allocations: 1.461 MB / 5.465 GB, free: 23.97 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/11.72, allocations: 2.211 MB / 5.467 GB, free: 21.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/11.73, allocations: 1.949 MB / 5.469 GB, free: 19.51 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/11.73, allocations: 0 / 5.469 GB, free: 19.51 MB / 0.9323 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.006313/11.73, allocations: 4.285 MB / 5.474 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000854/11.73, allocations: 5.203 MB / 5.479 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/11.73, allocations: 12 kB / 5.479 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/11.73, allocations: 122.2 kB / 5.479 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/11.74, allocations: 0.624 MB / 5.479 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/11.74, allocations: 2.78 MB / 5.482 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/11.74, allocations: 0.5027 MB / 5.483 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/11.74, allocations: 112 kB / 5.483 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/11.74, allocations: 4 kB / 5.483 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005743/11.75, allocations: 3.945 MB / 5.487 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/11.75, allocations: 8.094 kB / 5.487 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/11.75, allocations: 128.8 kB / 5.487 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/11.75, allocations: 0.6046 MB / 5.487 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5254/12.28, allocations: 2.17 MB / 5.489 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/12.28, allocations: 498.2 kB / 5.49 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005266/12.28, allocations: 117.3 kB / 5.49 GB, free: 112.2 MB / 0.9323 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 () * Number of clocked 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.004031/12.29, allocations: 2.175 MB / 5.492 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/12.29, allocations: 426.2 kB / 5.493 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007561/12.3, allocations: 4.094 MB / 5.497 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/12.3, allocations: 28.62 kB / 5.497 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/12.3, allocations: 4.859 kB / 5.497 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005893/12.3, allocations: 3.441 MB / 5.5 GB, free: 111.3 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.02152/12.32, allocations: 10.29 MB / 5.51 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/12.32, allocations: 5.156 kB / 5.51 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/12.33, allocations: 0.6182 MB / 5.511 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/12.33, allocations: 118.4 kB / 5.511 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/12.33, allocations: 91.75 kB / 5.511 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/12.33, allocations: 2.75 MB / 5.513 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/12.33, allocations: 8.391 kB / 5.513 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/12.34, allocations: 6.772 MB / 5.52 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003618/12.34, allocations: 1.084 MB / 5.521 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/12.34, allocations: 77.77 kB / 5.521 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/12.35, allocations: 453.5 kB / 5.522 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/12.35, allocations: 176.7 kB / 5.522 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/12.35, allocations: 110.8 kB / 5.522 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005555/12.35, allocations: 3.112 MB / 5.525 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.61e-07/12.35, allocations: 3.062 kB / 5.525 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01181/12.36, allocations: 2.756 MB / 5.528 GB, free: 107.1 MB / 0.9323 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.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],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) * Number of clocked states: 0 () * 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.004291/12.37, allocations: 2.787 MB / 5.53 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008536/12.38, allocations: 6.088 MB / 5.536 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/12.38, allocations: 0 / 5.536 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/12.38, allocations: 2.042 MB / 5.538 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01288/12.39, allocations: 2.799 MB / 5.541 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/12.41, allocations: 13.36 MB / 5.554 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/12.42, allocations: 4.062 MB / 5.558 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007804/12.42, allocations: 2.389 MB / 5.56 GB, free: 99.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/12.42, allocations: 335 kB / 5.561 GB, free: 99.91 MB / 0.9323 GB Notification: Performance of SimCode: time 1.372e-06/12.42, allocations: 0 / 5.561 GB, free: 99.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.1697/12.59, allocations: 123.1 MB / 5.681 GB, free: 93.79 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches