Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007304/0.007304, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001703/0.001704, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.06 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2713, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00416/0.2755, allocations: 2.165 MB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2774, allocations: 1.025 MB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.2777, allocations: 7.938 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.906e-05/0.2778, allocations: 23.67 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.2783, allocations: 79.28 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.2789, allocations: 199.5 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.2794, allocations: 290.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.2796, allocations: 72.95 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.2798, allocations: 103.6 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2801, allocations: 147.3 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2801, allocations: 16 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.2805, allocations: 299.7 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.2806, allocations: 51.77 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2807, allocations: 115.3 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.2812, allocations: 338.5 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2812, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2812, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2812, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 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.001122/0.2824, allocations: 0.6346 MB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2824, allocations: 8.031 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.2825, allocations: 42.75 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.2828, allocations: 44.67 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2832, allocations: 291.7 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2833, allocations: 12.41 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.2833, allocations: 16 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.2838, allocations: 228.6 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2838, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2839, allocations: 8 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2839, allocations: 4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.2845, allocations: 199.8 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2857, allocations: 0.9423 MB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.2865, allocations: 245.3 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.2869, allocations: 109.8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.287, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.287, allocations: 30.56 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.287, allocations: 3.938 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.00121/0.2882, allocations: 341.8 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2883, allocations: 81.11 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.2885, allocations: 270.9 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.2886, allocations: 29.7 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2887, allocations: 160.3 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.2888, allocations: 55.48 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.2888, allocations: 41.7 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.289, allocations: 338.8 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.2893, allocations: 99.84 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.2897, allocations: 139.3 kB / 1.097 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.2904, allocations: 241.8 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.2904, allocations: 7.938 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008906/0.2913, allocations: 285.2 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2913, allocations: 9.875 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2913, allocations: 0 / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2913, allocations: 4 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.2916, allocations: 68.03 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2917, allocations: 4 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2919, allocations: 39.86 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2919, allocations: 4 kB / 1.097 GB, free: 7.73 MB / 0.8575 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.0001407/0.2921, allocations: 141.7 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2922, allocations: 31.75 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.2931, allocations: 295.2 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2931, allocations: 0 / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2931, allocations: 4 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2931, allocations: 0 / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.2935, allocations: 297.3 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2935, allocations: 0 / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.2937, allocations: 59.89 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2938, allocations: 0 / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2938, allocations: 0 / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2938, allocations: 7.984 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2938, allocations: 0 / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/0.2946, allocations: 438.4 kB / 1.098 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.2947, allocations: 112.8 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.2948, allocations: 12 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.295, allocations: 23.91 kB / 1.098 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.2951, allocations: 19.97 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.2951, allocations: 8 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00017/0.2953, allocations: 186 kB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2953, allocations: 0 / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003704/0.2957, allocations: 63.89 kB / 1.099 GB, free: 5.965 MB / 0.8575 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.001218/0.2969, allocations: 0.9865 MB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000761/0.2977, allocations: 232.1 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2977, allocations: 0 / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.2981, allocations: 115.8 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.2987, allocations: 77.62 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.303, allocations: 2.716 MB / 1.103 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3033, allocations: 0.7519 MB / 1.104 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000167/0.3035, allocations: 30.28 kB / 1.104 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3036, allocations: 91.34 kB / 1.104 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of SimCode: time 8.11e-07/0.3036, allocations: 0 / 1.104 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.3307, allocations: 6.551 MB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.109, allocations: 9.938 kB / 1.11 GB, free: 10.42 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches