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.002113/0.002113, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.002211/0.002211, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.697/2.697, allocations: 437.1 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.16 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.005189/0.3606, allocations: 2.155 MB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.3631, allocations: 1.048 MB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.3634, allocations: 7.938 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3636, allocations: 27.66 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.3642, allocations: 79.3 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.3649, allocations: 191.9 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.3654, allocations: 298.8 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.3657, allocations: 56.7 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3659, allocations: 103.6 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.3663, allocations: 139.4 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.3663, allocations: 24 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.3669, allocations: 291.6 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.367, allocations: 55.7 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3672, allocations: 119.3 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.3677, allocations: 331.1 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3678, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3678, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3678, allocations: 0 / 1.023 GB, free: 5.699 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.001331/0.3691, allocations: 0.6272 MB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3692, allocations: 8.922 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.3694, allocations: 44.58 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.3698, allocations: 275.5 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3699, allocations: 12.66 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3699, allocations: 12.38 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.3705, allocations: 233.5 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3705, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3706, allocations: 8 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3706, allocations: 8 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.3713, allocations: 196.2 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.3727, allocations: 0.9461 MB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008326/0.3735, allocations: 237.2 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.3739, allocations: 109.6 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.3739, allocations: 7.938 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3739, allocations: 34.56 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.374, allocations: 0 / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.00127/0.3752, allocations: 337.4 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.3753, allocations: 85.11 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3756, allocations: 263 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.3757, allocations: 29.7 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3758, allocations: 164.1 kB / 1.026 GB, free: 1.852 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.3759, allocations: 63.09 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.376, allocations: 41.7 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3762, allocations: 330.8 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.3765, allocations: 95.91 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3769, allocations: 140 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.3776, allocations: 241.7 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3776, allocations: 0 / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008779/0.3785, allocations: 297 kB / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3785, allocations: 8 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3786, allocations: 0 / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.3786, allocations: 4 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.3789, allocations: 60.03 kB / 1.027 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3789, allocations: 8 kB / 1.027 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.3792, allocations: 35.81 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3792, allocations: 8 kB / 1.028 GB, free: 496 kB / 0.795 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.0001539/0.3794, allocations: 129.8 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3795, allocations: 35.56 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.3804, allocations: 291.8 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3804, allocations: 4 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3804, allocations: 0 / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3804, allocations: 7.984 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.3809, allocations: 301.3 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3809, allocations: 3.938 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.3812, allocations: 51.89 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.3812, allocations: 4 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3812, allocations: 4 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3812, allocations: 0 / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3812, allocations: 4 kB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.3821, allocations: 438.3 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3823, allocations: 112.6 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3823, allocations: 8 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3826, allocations: 31.95 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.3827, allocations: 16.27 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3827, allocations: 4 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001973/0.3829, allocations: 190 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 3.938 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003799/0.3833, allocations: 55.98 kB / 1.029 GB, free: 14.72 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.0002499/0.3836, allocations: 119.5 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008261/0.3844, allocations: 231.9 kB / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3844, allocations: 0 / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.3848, allocations: 123.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.3855, allocations: 73.34 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.3864, allocations: 480.4 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.3869, allocations: 0.7518 MB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.387, allocations: 23.44 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.387, allocations: 0 / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.007059/0.3941, allocations: 3.464 MB / 1.034 GB, free: 9.449 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 -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