Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 84.22 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 15.94 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5575, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002126/0.5597, allocations: 1.8 MB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.5612, allocations: 0.9753 MB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.5614, allocations: 7.938 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.5614, allocations: 11.86 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.5617, allocations: 67.42 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.5621, allocations: 140.8 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.5624, allocations: 274.7 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.5626, allocations: 44.72 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.5627, allocations: 87.58 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.5629, allocations: 131.4 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.563, allocations: 12 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.5634, allocations: 279.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.5634, allocations: 35.77 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.5635, allocations: 65.58 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.5638, allocations: 217.4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5638, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5638, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5638, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 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.001/0.5648, allocations: 0.6077 MB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5648, allocations: 8.562 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.5651, allocations: 39.61 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5654, allocations: 266.4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5654, allocations: 12.23 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.5654, allocations: 16 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.566, allocations: 260.5 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.566, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.566, allocations: 8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.566, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.5667, allocations: 235.8 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.5678, allocations: 0.95 MB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.5686, allocations: 257.2 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.5689, allocations: 133.6 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.569, allocations: 4.297 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.569, allocations: 38.56 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.876e-06/0.569, allocations: 7.922 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001167/0.5702, allocations: 389.2 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.5703, allocations: 93.02 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.5705, allocations: 267 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5706, allocations: 25.7 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5707, allocations: 168.1 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.5707, allocations: 51.2 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.5708, allocations: 4 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5709, allocations: 334.8 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.5712, allocations: 115.8 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5716, allocations: 167.8 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.5719, allocations: 124.4 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5719, allocations: 0 / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000823/0.5727, allocations: 337.1 kB / 1.031 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5728, allocations: 8 kB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5728, allocations: 4.078 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5728, allocations: 8.125 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.5731, allocations: 67.89 kB / 1.031 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.5731, allocations: 7.984 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.5733, allocations: 55.8 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.5734, allocations: 4 kB / 1.031 GB, free: 6.629 MB / 0.7794 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.0001159/0.5735, allocations: 129.8 kB / 1.031 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5736, allocations: 35.58 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.5744, allocations: 331.1 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5744, allocations: 8 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5744, allocations: 0 / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5745, allocations: 0 / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.5748, allocations: 297.3 kB / 1.032 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5749, allocations: 0 / 1.032 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.5751, allocations: 63.89 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.5751, allocations: 8 kB / 1.032 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5752, allocations: 8.234 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5752, allocations: 4 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5752, allocations: 0 / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.576, allocations: 486.2 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.5761, allocations: 100.7 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.5761, allocations: 8 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.5764, allocations: 43.95 kB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.5765, allocations: 19.94 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.5765, allocations: 7.938 kB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001741/0.5767, allocations: 186 kB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5767, allocations: 0 / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003587/0.577, allocations: 52 kB / 1.033 GB, free: 4.777 MB / 0.7794 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.0001765/0.5772, allocations: 127.5 kB / 1.033 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.578, allocations: 270 kB / 1.033 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.578, allocations: 0 / 1.033 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.5783, allocations: 143.8 kB / 1.034 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.5789, allocations: 71.53 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.5797, allocations: 0.5009 MB / 1.034 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.58, allocations: 0.748 MB / 1.035 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.5802, allocations: 34.27 kB / 1.035 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.5802, allocations: 19.44 kB / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.5802, allocations: 0 / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of Templates: time 0.007035/0.5873, allocations: 3.417 MB / 1.038 GB, free: 15.46 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches