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.001449/0.001449, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001615/0.001615, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 76.02 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3486, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003403/0.3521, allocations: 2.147 MB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3537, allocations: 1.052 MB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3538, allocations: 7.938 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.3539, allocations: 23.67 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3542, allocations: 79.28 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.3547, allocations: 204.5 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.355, allocations: 290.8 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.3552, allocations: 64.69 kB / 1.023 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3553, allocations: 99.64 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.3555, allocations: 147.3 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.3555, allocations: 20 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.3559, allocations: 299.6 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.356, allocations: 47.77 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3561, allocations: 115.3 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.3565, allocations: 342.7 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3565, allocations: 0 / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3565, allocations: 0 / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3565, allocations: 0 / 1.024 GB, free: 4.883 MB / 0.795 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.00105/0.3576, allocations: 0.6272 MB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3576, allocations: 8.922 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.3578, allocations: 40.64 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3582, allocations: 279.5 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3582, allocations: 12.66 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3583, allocations: 16.38 kB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.3588, allocations: 233.5 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3588, allocations: 7.938 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3588, allocations: 4 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3588, allocations: 4 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.3594, allocations: 199.8 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3605, allocations: 0.9422 MB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.3613, allocations: 245.2 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.3616, allocations: 101.6 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3616, allocations: 7.938 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3616, allocations: 30.56 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3616, allocations: 4 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001035/0.3627, allocations: 337.4 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3627, allocations: 81.11 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.363, allocations: 267 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3631, allocations: 25.7 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3632, allocations: 160.2 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3632, allocations: 59.11 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.3633, allocations: 37.7 kB / 1.027 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3634, allocations: 346.8 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3637, allocations: 87.91 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.364, allocations: 144.8 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.3646, allocations: 242.3 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3646, allocations: 3.938 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007693/0.3654, allocations: 293 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3654, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3654, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3655, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3657, allocations: 68.03 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3657, allocations: 4 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.366, allocations: 31.81 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.366, allocations: 12 kB / 1.028 GB, free: 15.67 MB / 0.8106 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.0001195/0.3661, allocations: 134.6 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3662, allocations: 31.56 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/0.367, allocations: 287.1 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.367, allocations: 8 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.367, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.367, allocations: 0 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.3675, allocations: 301.3 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3675, allocations: 3.938 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3677, allocations: 55.89 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3677, allocations: 4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3678, allocations: 0 / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3678, allocations: 3.984 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3678, allocations: 11.98 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.3685, allocations: 432.9 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.3686, allocations: 120.5 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.3688, allocations: 7.984 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.369, allocations: 27.97 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.3691, allocations: 19.97 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3691, allocations: 8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001668/0.3693, allocations: 186 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3693, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003479/0.3697, allocations: 64.25 kB / 1.03 GB, free: 13.9 MB / 0.8106 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.0002083/0.3699, allocations: 111.2 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006942/0.3706, allocations: 227.9 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3706, allocations: 0 / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.3709, allocations: 119.8 kB / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.3714, allocations: 81.56 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.3723, allocations: 446.7 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3727, allocations: 0.744 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3728, allocations: 34.28 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.3729, allocations: 19.44 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3729, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.008019/0.3809, allocations: 3.96 MB / 1.036 GB, free: 8.188 MB / 0.8106 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 -s cvode -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/jenkins1/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