Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001669/0.001669, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001693/0.001693, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.498/1.498, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.949/2.949, allocations: 469.8 MB / 0.7427 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 69.98 kB / 0.9087 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3348, allocations: 159.2 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004116/0.3389, allocations: 2.201 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.341, allocations: 1.04 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3412, allocations: 7.938 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.129e-05/0.3414, allocations: 19.8 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.3418, allocations: 67.47 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.3423, allocations: 165.1 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.3427, allocations: 298.8 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.3429, allocations: 60.7 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.343, allocations: 111.6 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.3433, allocations: 131.4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.3433, allocations: 20 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.3438, allocations: 295.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3438, allocations: 55.69 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.344, allocations: 115.3 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3443, allocations: 231.7 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3443, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3443, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3443, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8262 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.001174/0.3455, allocations: 0.631 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3455, allocations: 12.03 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.3458, allocations: 40.5 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3461, allocations: 271.5 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3462, allocations: 12.66 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.3462, allocations: 12.38 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.3468, allocations: 236.8 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3468, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3468, allocations: 8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3468, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.3475, allocations: 203.7 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3488, allocations: 0.9462 MB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.3496, allocations: 237.2 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.35, allocations: 101.6 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.35, allocations: 7.922 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.35, allocations: 42.56 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.35, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001211/0.3513, allocations: 333.4 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3513, allocations: 81.11 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3516, allocations: 267 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.3517, allocations: 29.7 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3518, allocations: 160.1 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3519, allocations: 55.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.352, allocations: 41.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3521, allocations: 334.8 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.3524, allocations: 99.78 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.3528, allocations: 137.9 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3535, allocations: 242.4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3535, allocations: 3.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008916/0.3544, allocations: 297 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3544, allocations: 7.984 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3544, allocations: 8.234 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3545, allocations: 0 / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3548, allocations: 59.89 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3548, allocations: 7.984 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.355, allocations: 39.8 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3551, allocations: 8 kB / 1.074 GB, free: 4.59 MB / 0.8262 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.0001542/0.3552, allocations: 133.8 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.3554, allocations: 31.56 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.3562, allocations: 291.1 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3562, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3562, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3562, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.3567, allocations: 297.3 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3567, allocations: 3.938 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.3569, allocations: 55.89 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.357, allocations: 4 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.357, allocations: 8 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.357, allocations: 0 / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.357, allocations: 0 / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.3578, allocations: 435.9 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.3579, allocations: 112.6 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.358, allocations: 8 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3583, allocations: 31.91 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.3583, allocations: 16.25 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3584, allocations: 12 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001922/0.3586, allocations: 190 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3586, allocations: 3.938 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003699/0.359, allocations: 52.25 kB / 1.075 GB, free: 2.836 MB / 0.8262 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.000236/0.3592, allocations: 119.2 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.36, allocations: 243.6 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3601, allocations: 0 / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.3604, allocations: 116.2 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.3611, allocations: 89.2 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.362, allocations: 0.5357 MB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3624, allocations: 0.7521 MB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.3625, allocations: 23.44 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3625, allocations: 0 / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of Templates: time 0.006505/0.369, allocations: 3.454 MB / 1.08 GB, free: 13.49 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches