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.001548/0.001548, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002326/0.002326, allocations: 190.3 kB / 16.25 MB, free: 6.633 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.313/2.313, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.6419, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002694/0.6447, allocations: 2.2 MB / 0.9513 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.646, allocations: 1.03 MB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.6461, allocations: 6.375 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.6462, allocations: 15.84 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.6465, allocations: 74.17 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.6468, allocations: 165.7 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.6471, allocations: 288.8 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.6473, allocations: 69.89 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.6474, allocations: 111.6 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.6476, allocations: 147.8 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.6476, allocations: 17.28 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.648, allocations: 298.9 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.648, allocations: 46.03 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.6481, allocations: 116.6 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.6484, allocations: 327.8 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6484, allocations: 0 / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6484, allocations: 5.266 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6484, allocations: 0 / 0.9539 GB, free: 5.477 MB / 0.7169 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.0009134/0.6494, allocations: 0.6195 MB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6494, allocations: 9.344 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.6496, allocations: 36.38 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.6499, allocations: 280.7 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6499, allocations: 20.06 kB / 0.9548 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.6499, allocations: 16.53 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.6504, allocations: 229.7 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6504, allocations: 0 / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.6505, allocations: 5.906 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6505, allocations: 4.562 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.6511, allocations: 205.9 kB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009086/0.652, allocations: 0.9357 MB / 0.9562 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.6527, allocations: 242.9 kB / 0.9564 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.6531, allocations: 113.3 kB / 0.9565 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.6531, allocations: 6.609 kB / 0.9565 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.6531, allocations: 40.31 kB / 0.9565 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.6531, allocations: 0 / 0.9565 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001092/0.6542, allocations: 334 kB / 0.9569 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6543, allocations: 83 kB / 0.9569 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.6545, allocations: 270.9 kB / 0.9572 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.6545, allocations: 27.3 kB / 0.9572 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.6546, allocations: 159.8 kB / 0.9574 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6546, allocations: 58.5 kB / 0.9574 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.6547, allocations: 39.3 kB / 0.9575 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.6547, allocations: 337.6 kB / 0.9578 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.655, allocations: 90.08 kB / 0.9579 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.6553, allocations: 137.9 kB / 0.958 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.6559, allocations: 243.5 kB / 0.9582 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.656, allocations: 9.312 kB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007472/0.6567, allocations: 295.3 kB / 0.9585 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6567, allocations: 5.656 kB / 0.9585 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6567, allocations: 1.438 kB / 0.9585 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6568, allocations: 3.625 kB / 0.9585 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.6571, allocations: 62.05 kB / 0.9586 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6571, allocations: 3.125 kB / 0.9586 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.6573, allocations: 41.64 kB / 0.9586 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.6573, allocations: 9.938 kB / 0.9587 GB, free: 1.641 MB / 0.7169 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 8.905e-05/0.6574, allocations: 134.4 kB / 0.9588 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.6575, allocations: 25.38 kB / 0.9588 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.6583, allocations: 295.4 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6583, allocations: 2.281 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6583, allocations: 1.125 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6583, allocations: 3.984 kB / 0.9591 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.6586, allocations: 302.2 kB / 0.9594 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6587, allocations: 1.094 kB / 0.9594 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.6589, allocations: 54.52 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6589, allocations: 1.156 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6589, allocations: 1.625 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.659, allocations: 0.9375 kB / 0.9594 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.659, allocations: 4.891 kB / 0.9594 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.6597, allocations: 453.7 kB / 0.9599 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.6598, allocations: 100.2 kB / 0.96 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6598, allocations: 2.312 kB / 0.96 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.6601, allocations: 33.33 kB / 0.96 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.6601, allocations: 15.11 kB / 0.96 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.6602, allocations: 9.438 kB / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001403/0.6603, allocations: 186.1 kB / 0.9602 GB, free: 432 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6603, allocations: 0 / 0.9602 GB, free: 432 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003631/0.6607, allocations: 58.88 kB / 0.9603 GB, free: 420 kB / 0.7169 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.0001714/0.6609, allocations: 126.1 kB / 0.9604 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007229/0.6616, allocations: 226.3 kB / 0.9606 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6616, allocations: 4.938 kB / 0.9606 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.6619, allocations: 121.2 kB / 0.9607 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.6625, allocations: 80.09 kB / 0.9608 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.6633, allocations: 0.5115 MB / 0.9613 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.6636, allocations: 0.7538 MB / 0.962 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000149/0.6638, allocations: 32.33 kB / 0.9621 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.6638, allocations: 30.56 kB / 0.9621 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.6638, allocations: 0 / 0.9621 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.007307/0.6711, allocations: 3.719 MB / 0.9657 GB, free: 13.14 MB / 0.7325 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