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.001081/0.001081, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001221/0.001221, allocations: 195.4 kB / 16.26 MB, free: 6.625 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.588/2.588, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.603, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00307/0.6061, allocations: 2.205 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.6077, allocations: 1.033 MB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.6078, allocations: 7.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.6079, allocations: 15.84 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.6082, allocations: 71.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.6086, allocations: 179.3 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.6089, allocations: 290.7 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.6091, allocations: 68.69 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.6092, allocations: 107.6 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.6094, allocations: 147.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.6094, allocations: 16 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.6098, allocations: 299.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.6099, allocations: 47.72 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.61, allocations: 119.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.6104, allocations: 328.9 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6104, allocations: 3.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6104, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6104, allocations: 0 / 1.022 GB, free: 13.79 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.00105/0.6114, allocations: 0.631 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.6115, allocations: 8.031 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.6117, allocations: 40.55 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.612, allocations: 267.6 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.612, allocations: 12.59 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.6121, allocations: 20.38 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.6126, allocations: 232.9 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6126, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.6127, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6127, allocations: 7.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.6133, allocations: 199.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.6144, allocations: 0.9384 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.6151, allocations: 241.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.6155, allocations: 109.6 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.6155, allocations: 3.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.6155, allocations: 34.56 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.6156, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001115/0.6167, allocations: 341.3 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.6167, allocations: 81.09 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.617, allocations: 263 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.617, allocations: 29.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.6171, allocations: 160.2 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.6171, allocations: 51.2 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.6172, allocations: 45.61 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.6173, allocations: 338.8 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.6176, allocations: 91.91 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.618, allocations: 143.5 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.6186, allocations: 246.3 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6186, allocations: 0 / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008471/0.6195, allocations: 296.9 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6195, allocations: 8 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6195, allocations: 0 / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6196, allocations: 4.156 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.6199, allocations: 63.89 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6199, allocations: 3.984 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.6201, allocations: 39.81 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.6201, allocations: 8 kB / 1.026 GB, free: 8.574 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.0001184/0.6203, allocations: 138.2 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6204, allocations: 31.66 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/0.6212, allocations: 295 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.6212, allocations: 0 / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6212, allocations: 4 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6212, allocations: 3.984 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.6216, allocations: 285.5 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6216, allocations: 3.938 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.6218, allocations: 55.95 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6218, allocations: 0 / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.6219, allocations: 4 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6219, allocations: 8 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6219, allocations: 3.938 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.6227, allocations: 442.5 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.6228, allocations: 108.7 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.6228, allocations: 4 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.6231, allocations: 27.95 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.6231, allocations: 15.98 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.6232, allocations: 4 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001631/0.6233, allocations: 194 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6233, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003893/0.6237, allocations: 68.08 kB / 1.028 GB, free: 6.812 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.0001891/0.6239, allocations: 119.2 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007416/0.6247, allocations: 241.4 kB / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6247, allocations: 0 / 1.028 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.625, allocations: 115.8 kB / 1.028 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.6257, allocations: 81.62 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/0.6265, allocations: 0.5182 MB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6268, allocations: 0.748 MB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.627, allocations: 38.27 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.6271, allocations: 23.44 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.6271, allocations: 0 / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.007302/0.6344, allocations: 3.729 MB / 1.033 GB, free: 1.227 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