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.001051/0.001051, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007851/0.007851, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.876/2.876, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 16.22 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.8124, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002664/0.8151, allocations: 1.854 MB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.817, allocations: 1.053 MB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.8172, allocations: 3.938 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.399e-05/0.8172, allocations: 11.86 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.8175, allocations: 75.41 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.8179, allocations: 151.2 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.8183, allocations: 286.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.8185, allocations: 52.67 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.8186, allocations: 91.56 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.8189, allocations: 131.4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.8189, allocations: 8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.8193, allocations: 279.7 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.8194, allocations: 35.78 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.8195, allocations: 129 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.8199, allocations: 320.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.82, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.82, allocations: 3.938 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.82, allocations: 0 / 1.027 GB, free: 11.34 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.00116/0.8211, allocations: 0.6079 MB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8212, allocations: 8.031 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.8214, allocations: 36.56 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.8218, allocations: 275.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.8218, allocations: 20.66 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.8219, allocations: 16.36 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.8225, allocations: 252.9 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8225, allocations: 3.938 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.8226, allocations: 8 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8226, allocations: 4 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.8233, allocations: 243.7 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.8247, allocations: 0.9501 MB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.8255, allocations: 261.2 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.8259, allocations: 129.6 kB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.826, allocations: 12.23 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.826, allocations: 30.56 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.826, allocations: 4 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001323/0.8274, allocations: 393.1 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.8274, allocations: 85.11 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.8277, allocations: 270.9 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.8278, allocations: 29.7 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.8279, allocations: 156.2 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.828, allocations: 59.19 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.828, allocations: 21.72 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8282, allocations: 334.8 kB / 1.031 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.8285, allocations: 119.8 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.829, allocations: 165.9 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.8297, allocations: 274.4 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8297, allocations: 4 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009339/0.8307, allocations: 345 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8307, allocations: 9.656 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8307, allocations: 4.078 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8307, allocations: 7.984 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.8311, allocations: 72.02 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.8311, allocations: 3.984 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.8313, allocations: 51.72 kB / 1.032 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.8314, allocations: 12.08 kB / 1.032 GB, free: 5.82 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.0001463/0.8315, allocations: 137.7 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.8316, allocations: 27.66 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.8326, allocations: 339.1 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.8326, allocations: 4 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8326, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8326, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.833, allocations: 289.4 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8331, allocations: 7.938 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.8333, allocations: 67.94 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.8334, allocations: 4 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.8334, allocations: 7.938 kB / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8334, allocations: 0 / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8334, allocations: 4 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.8344, allocations: 479.9 kB / 1.034 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.8345, allocations: 112.6 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.8345, allocations: 4 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.8348, allocations: 35.97 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.8349, allocations: 23.95 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8349, allocations: 11.94 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002035/0.8351, allocations: 186 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8351, allocations: 0 / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003687/0.8355, allocations: 56 kB / 1.034 GB, free: 3.961 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.000248/0.8357, allocations: 119.7 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.8366, allocations: 268.1 kB / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8366, allocations: 0 / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.8371, allocations: 143.8 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.8377, allocations: 70.33 kB / 1.035 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8387, allocations: 0.5328 MB / 1.035 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.8392, allocations: 0.748 MB / 1.036 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.8394, allocations: 30.3 kB / 1.036 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.8394, allocations: 19.44 kB / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of SimCode: time 7.91e-07/0.8394, allocations: 0 / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.008523/0.848, allocations: 3.543 MB / 1.04 GB, free: 14.5 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=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