Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00121/0.001211, allocations: 173.1 kB / 498.1 MB, free: 5.762 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.546/1.546, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009793/0.0009796, allocations: 103.1 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 14.16 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3196, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.5086, allocations: 151.7 MB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.509, allocations: 91.92 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02372/0.5327, allocations: 7.66 MB / 1.379 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.068e-06/0.5328, allocations: 0 / 1.379 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.5328, allocations: 11.94 kB / 1.379 GB, free: 2.559 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001229/0.5341, allocations: 0.6043 MB / 1.379 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5341, allocations: 8.031 kB / 1.379 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.5344, allocations: 35.62 kB / 1.379 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.535, allocations: 294.7 kB / 1.38 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.535, allocations: 8.281 kB / 1.38 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.535, allocations: 16 kB / 1.38 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.5356, allocations: 248.6 kB / 1.38 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5356, allocations: 0 / 1.38 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.5357, allocations: 8 kB / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5357, allocations: 8 kB / 1.38 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.5364, allocations: 243.6 kB / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.5377, allocations: 0.9734 MB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.5385, allocations: 261.2 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.5386, allocations: 4.062 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.5386, allocations: 38.56 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.5386, allocations: 3.938 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001198/0.5398, allocations: 397.6 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.5399, allocations: 85.05 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.5402, allocations: 234.2 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.5402, allocations: 25.7 kB / 1.382 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5403, allocations: 160.3 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.5404, allocations: 55.2 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5404, allocations: 0 / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5406, allocations: 346.7 kB / 1.383 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.5409, allocations: 115.9 kB / 1.383 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.5413, allocations: 160.2 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.5416, allocations: 119.9 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5416, allocations: 4 kB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008697/0.5425, allocations: 337 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5425, allocations: 4 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5425, allocations: 0 / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5426, allocations: 4 kB / 1.383 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.543, allocations: 76 kB / 1.383 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.543, allocations: 4 kB / 1.383 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.5433, allocations: 47.81 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.5433, allocations: 7.984 kB / 1.383 GB, free: 13.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.5435, allocations: 141.7 kB / 1.383 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5436, allocations: 23.72 kB / 1.384 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/0.5445, allocations: 343.1 kB / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.5445, allocations: 4 kB / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5445, allocations: 0 / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5445, allocations: 0 / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.545, allocations: 305.3 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.545, allocations: 4 kB / 1.384 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.5453, allocations: 71.88 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5453, allocations: 0 / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5453, allocations: 4 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5453, allocations: 4 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.5453, allocations: 0 / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/0.5462, allocations: 493.7 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5464, allocations: 112.7 kB / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.5464, allocations: 0 / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.5467, allocations: 35.97 kB / 1.385 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.5468, allocations: 23.97 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5468, allocations: 4 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002021/0.547, allocations: 190 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.547, allocations: 0 / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003942/0.5474, allocations: 60.09 kB / 1.385 GB, free: 11.52 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002607/0.5477, allocations: 123 kB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007722/0.5485, allocations: 267.9 kB / 1.385 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5485, allocations: 64 / 1.385 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.5489, allocations: 144.4 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5494, allocations: 68.92 kB / 1.386 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.5503, allocations: 0.5014 MB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.5507, allocations: 0.7558 MB / 1.387 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.5509, allocations: 42.64 kB / 1.387 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.551, allocations: 19.44 kB / 1.387 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of SimCode: time 2.7e-07/0.551, allocations: 0 / 1.387 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of Templates: time 0.007839/0.5588, allocations: 3.383 MB / 1.39 GB, free: 6.223 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches