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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009954/0.0009951, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006445/0.006445, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003322, allocations: 8 kB / 0.8728 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6494, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002211/0.6516, allocations: 1.854 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.6532, allocations: 1.049 MB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.6533, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.6534, allocations: 15.8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.6536, allocations: 75.41 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.654, allocations: 139.3 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.6542, allocations: 286.7 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.6544, allocations: 52.72 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.6545, allocations: 95.52 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.6547, allocations: 135.3 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.6548, allocations: 8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.6552, allocations: 283.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.6552, allocations: 39.77 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.6553, allocations: 129 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.6556, allocations: 308.8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6557, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6557, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6557, allocations: 0 / 1.027 GB, free: 11.32 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.0009713/0.6567, allocations: 0.604 MB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6567, allocations: 12.03 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.6569, allocations: 36.56 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6572, allocations: 279.5 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6572, allocations: 8.656 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.6573, allocations: 24.31 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.6578, allocations: 260.8 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6579, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.6579, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6579, allocations: 4 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.6586, allocations: 243.7 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.6597, allocations: 0.9463 MB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.6605, allocations: 265.2 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.6609, allocations: 125.6 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.6609, allocations: 7.938 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.6609, allocations: 38.5 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.6609, allocations: 0 / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00125/0.6622, allocations: 401.4 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.6623, allocations: 81.11 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.6625, allocations: 270.9 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6625, allocations: 29.7 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.6626, allocations: 156.2 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.6627, allocations: 59.17 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.6627, allocations: 21.72 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6628, allocations: 334.8 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.6632, allocations: 119.8 kB / 1.032 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.6636, allocations: 165.9 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.6643, allocations: 277.7 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6643, allocations: 0 / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008833/0.6652, allocations: 341 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6652, allocations: 4 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6653, allocations: 96 / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6653, allocations: 11.92 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.6656, allocations: 75.83 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6656, allocations: 8.125 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.6659, allocations: 51.72 kB / 1.032 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.6659, allocations: 7.984 kB / 1.032 GB, free: 5.805 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.666, allocations: 134.3 kB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.6661, allocations: 31.66 kB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.667, allocations: 343.8 kB / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.667, allocations: 0 / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6671, allocations: 0 / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6671, allocations: 7.984 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.6674, allocations: 293.3 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6674, allocations: 3.938 kB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.6677, allocations: 71.94 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6677, allocations: 0 / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.6677, allocations: 4 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6677, allocations: 0 / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6677, allocations: 0 / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/0.6686, allocations: 488 kB / 1.034 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.6687, allocations: 112.6 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.6688, allocations: 8 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.669, allocations: 31.97 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.6691, allocations: 19.97 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6691, allocations: 8 kB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001651/0.6693, allocations: 190 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6693, allocations: 0 / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003523/0.6697, allocations: 52.19 kB / 1.034 GB, free: 3.945 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 (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.0001829/0.6698, allocations: 119.1 kB / 1.034 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008079/0.6707, allocations: 271.9 kB / 1.035 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6707, allocations: 4 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.6711, allocations: 139.9 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.6717, allocations: 65.34 kB / 1.035 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.6725, allocations: 0.536 MB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.6727, allocations: 0.7519 MB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00015/0.6729, allocations: 30.28 kB / 1.036 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.673, allocations: 27.44 kB / 1.036 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.673, allocations: 0 / 1.036 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.007477/0.6805, allocations: 3.539 MB / 1.04 GB, free: 14.48 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