Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.362/2.362, allocations: 390.5 MB / 398 MB, free: 10.94 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.001496/0.001497, allocations: 187.9 kB / 491.2 MB, free: 1.602 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.657/1.657, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001265/0.001265, allocations: 99.36 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.914e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3678, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.499, allocations: 151.8 MB / 1.361 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.499, allocations: 79.73 kB / 1.361 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02129/1.52, allocations: 7.617 MB / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/1.52, allocations: 0 / 1.368 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.52, allocations: 3.938 kB / 1.368 GB, free: 32.62 MB / 0.8386 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.0008579/1.521, allocations: 0.5562 MB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.521, allocations: 6.719 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/1.521, allocations: 35.94 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/1.522, allocations: 293.8 kB / 1.369 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.522, allocations: 11.48 kB / 1.369 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/1.522, allocations: 7.625 kB / 1.369 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001879/1.522, allocations: 97.31 kB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.522, allocations: 165.6 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.522, allocations: 3.844 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.522, allocations: 0 / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.522, allocations: 4.625 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.523, allocations: 0.9256 MB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/1.524, allocations: 180.3 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/1.524, allocations: 52.73 kB / 1.37 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/1.524, allocations: 3.969 kB / 1.37 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.524, allocations: 44.67 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/1.524, allocations: 0 / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003766/1.524, allocations: 150.3 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/1.524, allocations: 84.95 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/1.525, allocations: 214 kB / 1.371 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.525, allocations: 25.7 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/1.525, allocations: 157.7 kB / 1.371 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.525, allocations: 59.7 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/1.525, allocations: 0 / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.525, allocations: 337.1 kB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/1.525, allocations: 44.53 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/1.525, allocations: 80.78 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/1.525, allocations: 52.8 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.525, allocations: 3.953 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003088/1.525, allocations: 180.1 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.525, allocations: 10.22 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.525, allocations: 0 / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.525, allocations: 8 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/1.526, allocations: 70.92 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.526, allocations: 3.938 kB / 1.372 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/1.526, allocations: 48.69 kB / 1.372 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.526, allocations: 7.688 kB / 1.372 GB, free: 30.15 MB / 0.8386 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 () * 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 7.663e-05/1.526, allocations: 104.9 kB / 1.372 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/1.526, allocations: 29.42 kB / 1.372 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/1.527, allocations: 184.5 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.527, allocations: 3.844 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.527, allocations: 0 / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/1.527, allocations: 0 / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/1.527, allocations: 262.3 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.527, allocations: 3.844 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/1.527, allocations: 66.8 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.527, allocations: 3.953 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.527, allocations: 7.062 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.527, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.527, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/1.528, allocations: 344.6 kB / 1.373 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/1.528, allocations: 111.1 kB / 1.373 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.528, allocations: 7.953 kB / 1.373 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/1.528, allocations: 31.16 kB / 1.373 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/1.528, allocations: 22.42 kB / 1.373 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.528, allocations: 7.312 kB / 1.373 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001253/1.528, allocations: 172.2 kB / 1.373 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.528, allocations: 0 / 1.373 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003393/1.529, allocations: 60.17 kB / 1.373 GB, free: 29.34 MB / 0.8386 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 () * 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.0002146/1.529, allocations: 114.3 kB / 1.373 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.529, allocations: 116.9 kB / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.529, allocations: 0 / 1.373 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/1.529, allocations: 68.98 kB / 1.373 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/1.53, allocations: 66.61 kB / 1.374 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/1.53, allocations: 296.8 kB / 1.374 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.53, allocations: 0.7575 MB / 1.375 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001505/1.531, allocations: 29.22 kB / 1.375 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/1.531, allocations: 22.17 kB / 1.375 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.531, allocations: 0 / 1.375 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.006184/1.537, allocations: 3.18 MB / 1.378 GB, free: 28.18 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches