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.001661/0.001661, allocations: 108 kB / 15.61 MB, free: 152 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.002047/0.002047, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.748/2.748, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6264, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003707/0.6301, allocations: 2.147 MB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.632, allocations: 1.045 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.6322, allocations: 3.938 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.294e-05/0.6322, allocations: 31.66 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.6326, allocations: 71.3 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.633, allocations: 205.1 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.6334, allocations: 294.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.6336, allocations: 64.69 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.6337, allocations: 107.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.6339, allocations: 139.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.634, allocations: 20 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.6345, allocations: 295.6 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.6345, allocations: 47.77 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.6347, allocations: 119.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.6351, allocations: 328.9 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6351, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.297e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6351, allocations: 3.938 kB / 1.022 GB, free: 13.55 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.001193/0.6363, allocations: 0.625 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6364, allocations: 8.031 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.6366, allocations: 40.55 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.637, allocations: 271.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.637, allocations: 8.656 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.637, allocations: 16.38 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.6376, allocations: 232.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6376, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.6377, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6377, allocations: 8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.6384, allocations: 195.8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.6397, allocations: 0.95 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.6405, allocations: 237.2 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.6409, allocations: 106 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.641, allocations: 15.92 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.641, allocations: 38.5 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.641, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001282/0.6423, allocations: 345.3 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.6424, allocations: 81.05 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.6427, allocations: 259 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.6427, allocations: 29.7 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.6429, allocations: 172.2 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.6429, allocations: 47.2 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.643, allocations: 49.61 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6432, allocations: 330.8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.6436, allocations: 95.91 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.644, allocations: 137.9 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.6447, allocations: 241.7 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6448, allocations: 4 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009174/0.6457, allocations: 297 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6457, allocations: 8 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6457, allocations: 7.938 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6457, allocations: 4 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.6461, allocations: 59.94 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6461, allocations: 3.938 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6463, allocations: 39.94 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.6464, allocations: 8 kB / 1.027 GB, free: 8.324 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.000146/0.6465, allocations: 137.8 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6466, allocations: 27.66 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.6475, allocations: 291.1 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6475, allocations: 3.984 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6475, allocations: 4 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6476, allocations: 0 / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.648, allocations: 285.5 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.648, allocations: 4.219 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.6483, allocations: 59.89 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6483, allocations: 0 / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6483, allocations: 7.938 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.6483, allocations: 4 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6483, allocations: 4.453 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.6493, allocations: 438.2 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.6494, allocations: 104.7 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.6494, allocations: 11.98 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.6497, allocations: 27.97 kB / 1.028 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.6498, allocations: 19.97 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6498, allocations: 4 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001963/0.65, allocations: 190 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.65, allocations: 0 / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003829/0.6504, allocations: 59.84 kB / 1.028 GB, free: 6.574 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.0002101/0.6506, allocations: 119.4 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008431/0.6515, allocations: 231.7 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6515, allocations: 0 / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.6519, allocations: 124.1 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.6525, allocations: 86.95 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.6534, allocations: 446.8 kB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.6539, allocations: 0.7558 MB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.654, allocations: 26.23 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.6541, allocations: 23.44 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6541, allocations: 0 / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of Templates: time 0.008697/0.6628, allocations: 3.958 MB / 1.034 GB, free: 0.8398 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=400 -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