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.006734/0.006734, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.001501/0.001501, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.283/2.283, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.95 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2634, allocations: 140.4 MB / 1.088 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003537/0.2669, allocations: 2.144 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.2687, allocations: 1.041 MB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.2689, allocations: 8 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.269, allocations: 23.67 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.2694, allocations: 79.28 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2699, allocations: 195.5 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.2703, allocations: 298.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2705, allocations: 71.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.2707, allocations: 103.6 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.271, allocations: 143.3 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.271, allocations: 16 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.2715, allocations: 303.6 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.2715, allocations: 47.78 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2717, allocations: 123.3 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.2721, allocations: 327.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2721, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2721, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2721, allocations: 0 / 1.092 GB, free: 12.98 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.00108/0.2732, allocations: 0.6272 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2732, allocations: 8.031 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.2733, allocations: 46.73 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.2735, allocations: 44.48 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.2739, allocations: 287.5 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.274, allocations: 12.41 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.274, allocations: 16 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.2745, allocations: 232.6 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2745, allocations: 0 / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2746, allocations: 4 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2746, allocations: 4 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.2753, allocations: 199 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2765, allocations: 0.9383 MB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.2773, allocations: 233.2 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.2776, allocations: 105.9 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2776, allocations: 11.98 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2777, allocations: 34.56 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2777, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001196/0.2789, allocations: 337.1 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2789, allocations: 77.11 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.2792, allocations: 271 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2792, allocations: 25.7 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2794, allocations: 172 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2794, allocations: 55.19 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.2795, allocations: 41.7 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2796, allocations: 338.8 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.2799, allocations: 87.92 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2803, allocations: 142.9 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.281, allocations: 241.7 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.281, allocations: 4 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008444/0.2818, allocations: 289.8 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2819, allocations: 8 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2819, allocations: 0 / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.2819, allocations: 4 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.2822, allocations: 59.89 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2822, allocations: 0 / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.2824, allocations: 47.78 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2825, allocations: 8.062 kB / 1.097 GB, free: 7.719 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.0001346/0.2826, allocations: 137.7 kB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2827, allocations: 35.56 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008381/0.2836, allocations: 291.2 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2836, allocations: 0 / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2836, allocations: 4 kB / 1.098 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2836, allocations: 3.984 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.284, allocations: 297.3 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.284, allocations: 4 kB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.2843, allocations: 59.89 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.2843, allocations: 0 / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2843, allocations: 4 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2843, allocations: 4.281 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2843, allocations: 0 / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.2852, allocations: 446.1 kB / 1.098 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.2852, allocations: 104.7 kB / 1.098 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2853, allocations: 8 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2856, allocations: 27.95 kB / 1.098 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.696e-05/0.2856, allocations: 19.98 kB / 1.098 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2856, allocations: 4 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001656/0.2858, allocations: 190 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2858, allocations: 0 / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003518/0.2862, allocations: 52.25 kB / 1.099 GB, free: 5.961 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.001198/0.2874, allocations: 0.99 MB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007488/0.2881, allocations: 231.7 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2882, allocations: 0 / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.2885, allocations: 124.1 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.2891, allocations: 69.34 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.2931, allocations: 2.712 MB / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2934, allocations: 0.748 MB / 1.103 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.2935, allocations: 38.25 kB / 1.104 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2937, allocations: 87.41 kB / 1.104 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2937, allocations: 0 / 1.104 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.318, allocations: 6.549 MB / 1.11 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.086, allocations: 7.875 kB / 1.11 GB, free: 10.41 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