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.000978/0.0009777, allocations: 90.05 kB / 16.02 MB, free: 80 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.001445/0.001445, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.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.751/2.751, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 8 kB / 0.8735 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8017, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002712/0.8045, allocations: 1.85 MB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.8066, allocations: 1.045 MB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.8068, allocations: 3.938 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.425e-05/0.8069, allocations: 11.86 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.8074, allocations: 83.41 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.808, allocations: 139.7 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.8084, allocations: 290.7 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.8086, allocations: 52.72 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.8089, allocations: 91.52 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.8092, allocations: 131.4 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.8092, allocations: 8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.8097, allocations: 283.6 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.8098, allocations: 35.77 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.8099, allocations: 141 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.8103, allocations: 217.4 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8103, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8103, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.8103, allocations: 0 / 1.028 GB, free: 11.41 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.001115/0.8114, allocations: 0.6079 MB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.8115, allocations: 15.92 kB / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.8117, allocations: 40.55 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.8121, allocations: 279.5 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.8121, allocations: 12.66 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.8122, allocations: 16.38 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.8127, allocations: 252.8 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8128, allocations: 4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.8128, allocations: 4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.8128, allocations: 4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.8135, allocations: 239.8 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.8148, allocations: 0.9461 MB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.8157, allocations: 273.2 kB / 1.031 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.816, allocations: 129.6 kB / 1.031 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.8161, allocations: 3.938 kB / 1.031 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8161, allocations: 30.56 kB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.8161, allocations: 8 kB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001294/0.8174, allocations: 397.4 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.8175, allocations: 85.11 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.8178, allocations: 266.9 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.8178, allocations: 29.7 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.8179, allocations: 156.2 kB / 1.032 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.818, allocations: 55.2 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.818, allocations: 25.7 kB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8182, allocations: 338.8 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.8185, allocations: 111.8 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.8189, allocations: 169.8 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.8197, allocations: 281.8 kB / 1.033 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8197, allocations: 7.938 kB / 1.033 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009379/0.8207, allocations: 344.9 kB / 1.033 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8207, allocations: 8 kB / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8207, allocations: 0 / 1.033 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.8207, allocations: 4 kB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.8211, allocations: 72.02 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.8211, allocations: 4 kB / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.8214, allocations: 51.7 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.8214, allocations: 12 kB / 1.033 GB, free: 5.887 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.0001472/0.8216, allocations: 135.8 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8217, allocations: 31.66 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.8226, allocations: 335.8 kB / 1.034 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8227, allocations: 4 kB / 1.034 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.8227, allocations: 0 / 1.034 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8227, allocations: 3.984 kB / 1.034 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.8231, allocations: 289.4 kB / 1.034 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.8231, allocations: 7.938 kB / 1.034 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.8234, allocations: 67.89 kB / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8234, allocations: 0 / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.8234, allocations: 4 kB / 1.034 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.8235, allocations: 7.984 kB / 1.034 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8235, allocations: 0 / 1.034 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.8244, allocations: 484.1 kB / 1.034 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.8245, allocations: 108.6 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.8245, allocations: 4 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.8248, allocations: 40.23 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.8249, allocations: 23.92 kB / 1.035 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.8249, allocations: 4 kB / 1.035 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001817/0.8251, allocations: 193.9 kB / 1.035 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8251, allocations: 0 / 1.035 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004099/0.8255, allocations: 60.23 kB / 1.035 GB, free: 4.023 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.0002317/0.8258, allocations: 115.2 kB / 1.035 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.8266, allocations: 267.9 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8267, allocations: 0 / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.8271, allocations: 143.8 kB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.8277, allocations: 77.22 kB / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.8287, allocations: 0.5573 MB / 1.036 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.8292, allocations: 0.748 MB / 1.037 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.8293, allocations: 23.44 kB / 1.037 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.8293, allocations: 3.938 kB / 1.037 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of Templates: time 0.007133/0.8364, allocations: 3.404 MB / 1.04 GB, free: 14.67 MB / 0.795 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