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.001568/0.001568, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 193.5 kB / 16.53 MB, free: 6.691 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.508/2.508, allocations: 437 MB / 0.7103 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 67.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.659, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003758/0.6628, allocations: 2.142 MB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.6649, allocations: 1.045 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.6651, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.82e-05/0.6652, allocations: 23.67 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.6656, allocations: 83.22 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.6662, allocations: 199.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.6666, allocations: 290.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.6668, allocations: 64.66 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.6669, allocations: 111.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.6672, allocations: 143.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.6673, allocations: 16 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.6677, allocations: 291.7 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.6678, allocations: 47.77 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.6679, allocations: 127.3 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.6683, allocations: 328.9 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6684, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6684, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.6684, allocations: 0 / 1.022 GB, free: 13.62 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.001127/0.6695, allocations: 0.6233 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6696, allocations: 8.031 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.6698, allocations: 36.56 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.6701, allocations: 275.6 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6702, allocations: 12.66 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.6702, allocations: 20.38 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.6707, allocations: 232.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6708, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.6708, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6708, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.6715, allocations: 195.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.6727, allocations: 0.9461 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.6735, allocations: 241.4 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.6739, allocations: 117.8 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6739, allocations: 3.938 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.6739, allocations: 30.56 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.674, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001205/0.6752, allocations: 345 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.6752, allocations: 77.11 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.6755, allocations: 267 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.6755, allocations: 37.7 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6756, allocations: 156.2 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.6757, allocations: 51.2 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.6758, allocations: 45.61 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6759, allocations: 338.8 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.6762, allocations: 87.92 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.6766, allocations: 149.8 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.6773, allocations: 245.7 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6773, allocations: 0 / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008502/0.6781, allocations: 289 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6782, allocations: 13.97 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6782, allocations: 0 / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6782, allocations: 4 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.6785, allocations: 63.89 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6785, allocations: 0 / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.6788, allocations: 47.92 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.6788, allocations: 4 kB / 1.027 GB, free: 8.391 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.0001253/0.6789, allocations: 137.7 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.6791, allocations: 27.66 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.6799, allocations: 291.8 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6799, allocations: 0 / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6799, allocations: 4 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6799, allocations: 0 / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.6803, allocations: 289.8 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6803, allocations: 7.938 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.6806, allocations: 63.89 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6806, allocations: 3.938 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.6806, allocations: 0 / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6807, allocations: 4 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6807, allocations: 0 / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.6815, allocations: 443.8 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.6816, allocations: 104.7 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.6817, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.6819, allocations: 27.97 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.682, allocations: 27.89 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.682, allocations: 8 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001699/0.6822, allocations: 186 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6822, allocations: 0 / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003789/0.6826, allocations: 63.84 kB / 1.028 GB, free: 6.637 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.0002022/0.6828, allocations: 115.5 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.6836, allocations: 239.6 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6836, allocations: 0 / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.684, allocations: 120.2 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.6847, allocations: 81.22 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.6856, allocations: 450.7 kB / 1.029 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.6859, allocations: 0.7557 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.6861, allocations: 34.42 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.6862, allocations: 23.44 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6862, allocations: 0 / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.008593/0.6948, allocations: 3.946 MB / 1.034 GB, free: 0.9062 MB / 0.7794 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