Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 192.5 kB / 316.3 MB, free: 3.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.986/1.986, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008796/0.0008796, allocations: 99.39 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.268e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 106.4 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8505/1.083, allocations: 134.3 MB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.084, allocations: 84.88 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02203/1.106, allocations: 7.486 MB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.106, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.285e-05/1.106, allocations: 8.75 kB / 1.024 GB, free: 13.23 MB / 0.6511 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.001114/1.107, allocations: 0.554 MB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.107, allocations: 11.97 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/1.107, allocations: 35.64 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/1.108, allocations: 295.9 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.108, allocations: 7.938 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/1.108, allocations: 8 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002364/1.108, allocations: 98.03 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.109, allocations: 163.8 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.109, allocations: 3.938 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/1.109, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.109, allocations: 4 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/1.11, allocations: 0.9197 MB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/1.111, allocations: 189.6 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/1.111, allocations: 49.5 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/1.111, allocations: 11.61 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.111, allocations: 34.5 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/1.111, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004502/1.111, allocations: 139.1 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.111, allocations: 81.11 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/1.112, allocations: 219.8 kB / 1.027 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.112, allocations: 25.7 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.112, allocations: 164.8 kB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/1.112, allocations: 49.52 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.112, allocations: 0 / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.112, allocations: 336.5 kB / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/1.112, allocations: 45.48 kB / 1.027 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/1.112, allocations: 95.17 kB / 1.027 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/1.112, allocations: 45.42 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.112, allocations: 0 / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003733/1.113, allocations: 188.4 kB / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.113, allocations: 4 kB / 1.027 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.113, allocations: 4 kB / 1.027 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.113, allocations: 0 / 1.027 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/1.113, allocations: 79.22 kB / 1.028 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.113, allocations: 3.938 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.113, allocations: 47.72 kB / 1.028 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/1.113, allocations: 4 kB / 1.028 GB, free: 9.516 MB / 0.6511 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 0.0001049/1.113, allocations: 116.6 kB / 1.028 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.114, allocations: 35.55 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/1.114, allocations: 177.1 kB / 1.028 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.114, allocations: 4 kB / 1.028 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.114, allocations: 0 / 1.028 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.114, allocations: 3.984 kB / 1.028 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/1.114, allocations: 258.9 kB / 1.028 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.114, allocations: 0 / 1.028 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.115, allocations: 67.89 kB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/1.115, allocations: 3.984 kB / 1.028 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.115, allocations: 7.953 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.115, allocations: 3.984 kB / 1.028 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.115, allocations: 0 / 1.028 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/1.115, allocations: 343.2 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/1.115, allocations: 104.7 kB / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/1.115, allocations: 3.984 kB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/1.116, allocations: 51.05 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/1.116, allocations: 19.09 kB / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.116, allocations: 4 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001571/1.116, allocations: 167 kB / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.116, allocations: 0 / 1.029 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003623/1.116, allocations: 48.25 kB / 1.029 GB, free: 8.172 MB / 0.6511 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.0002385/1.116, allocations: 123.2 kB / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000266/1.117, allocations: 123.7 kB / 1.029 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.117, allocations: 0 / 1.029 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/1.117, allocations: 68.92 kB / 1.029 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/1.117, allocations: 66.17 kB / 1.029 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/1.118, allocations: 294.4 kB / 1.03 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/1.118, allocations: 0.7555 MB / 1.03 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001674/1.119, allocations: 30.02 kB / 1.03 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/1.119, allocations: 26.38 kB / 1.03 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.119, allocations: 0 / 1.03 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.007339/1.126, allocations: 3.179 MB / 1.033 GB, free: 3.641 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches