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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008155/0.008155, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001905/0.001906, allocations: 193.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.03 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003136/0.265, allocations: 2.152 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2666, allocations: 1.041 MB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.2668, allocations: 8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.2669, allocations: 23.67 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.2672, allocations: 79.28 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.2676, allocations: 191.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2678, allocations: 294.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.268, allocations: 76.62 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2681, allocations: 103.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.2683, allocations: 147.3 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.2684, allocations: 16 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.2688, allocations: 299.6 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.2688, allocations: 51.77 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.2689, allocations: 115.3 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2693, allocations: 330.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2693, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2693, allocations: 4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2693, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 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.0009824/0.2703, allocations: 0.6232 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2703, allocations: 8.031 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.2705, allocations: 32.66 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.2709, allocations: 291.4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2709, allocations: 20.59 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.271, allocations: 19.94 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.2714, allocations: 224.6 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2715, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2715, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2715, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.2721, allocations: 199.8 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.2731, allocations: 0.9344 MB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.2738, allocations: 241.2 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2741, allocations: 101.6 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.2742, allocations: 8 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2742, allocations: 30.88 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2742, allocations: 3.938 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001088/0.2753, allocations: 341.6 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2753, allocations: 77.11 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.2756, allocations: 271 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2756, allocations: 29.7 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.2757, allocations: 160.1 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.2757, allocations: 59.2 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.2758, allocations: 45.64 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2759, allocations: 334.8 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.2762, allocations: 91.91 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.2765, allocations: 143.3 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.2772, allocations: 241.7 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2772, allocations: 4 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007701/0.2779, allocations: 285.2 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.278, allocations: 12.03 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.278, allocations: 0 / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.278, allocations: 4 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2783, allocations: 67.88 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2783, allocations: 0 / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2785, allocations: 43.81 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2785, allocations: 7.984 kB / 1.098 GB, free: 7.289 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.2786, allocations: 137.7 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2787, allocations: 31.62 kB / 1.098 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.2795, allocations: 291.2 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2795, allocations: 3.938 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2795, allocations: 0 / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2795, allocations: 4 kB / 1.098 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.2798, allocations: 297.3 kB / 1.098 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2798, allocations: 0 / 1.098 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.2801, allocations: 55.89 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2801, allocations: 11.98 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2801, allocations: 0 / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2801, allocations: 4 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2801, allocations: 0 / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.2809, allocations: 442.2 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.2809, allocations: 108.7 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.281, allocations: 7.984 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2812, allocations: 23.97 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.2813, allocations: 19.97 kB / 1.099 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2813, allocations: 12 kB / 1.099 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001582/0.2815, allocations: 186 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2815, allocations: 0 / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003529/0.2818, allocations: 60.25 kB / 1.099 GB, free: 5.527 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.282, allocations: 107.2 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007071/0.2827, allocations: 227.7 kB / 1.099 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.2827, allocations: 0 / 1.099 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.2831, allocations: 124.7 kB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.2836, allocations: 82.78 kB / 1.1 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.2843, allocations: 449.5 kB / 1.1 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2846, allocations: 0.7518 MB / 1.101 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.2847, allocations: 26.3 kB / 1.101 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.2848, allocations: 19.44 kB / 1.101 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2848, allocations: 4 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of Templates: time 0.007144/0.2919, allocations: 4.085 MB / 1.105 GB, free: 15.68 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches