Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.008194/0.008194, allocations: 99.34 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.002195/0.002195, allocations: 195.3 kB / 16.67 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.272, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002647/0.2747, allocations: 1.615 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.276, allocations: 0.9114 MB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2761, allocations: 0 / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.2761, allocations: 3.938 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.2763, allocations: 31.72 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.2767, allocations: 147.6 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2768, allocations: 75.64 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.2769, allocations: 15.98 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.277, allocations: 23.92 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2771, allocations: 47.77 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2772, allocations: 8 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.2776, allocations: 275.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.2776, allocations: 15.92 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.2777, allocations: 35.8 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2779, allocations: 143.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2779, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2779, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.278, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005847/0.2785, allocations: 418.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2786, allocations: 12.03 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.2786, allocations: 30.75 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2787, allocations: 12.89 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.279, allocations: 193.9 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.279, allocations: 4.312 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.279, allocations: 4.375 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2792, allocations: 65.8 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2792, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2792, allocations: 7.984 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2792, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2794, allocations: 39.97 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.2798, allocations: 296.7 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.28, allocations: 62.42 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.2801, allocations: 32.97 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2801, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2801, allocations: 30.56 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.2801, allocations: 0 / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00037/0.2805, allocations: 113.6 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2806, allocations: 55.34 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2807, allocations: 129.8 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2807, allocations: 25.7 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.2808, allocations: 92.14 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2808, allocations: 23.91 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.2808, allocations: 21.72 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.281, allocations: 326.8 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.2811, allocations: 19.98 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.2811, allocations: 23.92 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2813, allocations: 61.2 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2813, allocations: 0 / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002351/0.2816, allocations: 97.55 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2816, allocations: 9.719 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2816, allocations: 3.984 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2816, allocations: 0 / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2817, allocations: 11.98 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2817, allocations: 4 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.2818, allocations: 7.938 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2818, allocations: 0 / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.409e-05/0.2819, allocations: 117.8 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.282, allocations: 15.94 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.2822, allocations: 97.91 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2823, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2823, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2823, allocations: 4 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2825, allocations: 185.6 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2825, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.2826, allocations: 12 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2826, allocations: 7.984 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2826, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2826, allocations: 3.938 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2826, allocations: 0 / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.2829, allocations: 191.4 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.283, allocations: 81.06 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.283, allocations: 4.125 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.2831, allocations: 12 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2831, allocations: 11.98 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2831, allocations: 0 / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.2832, allocations: 95.27 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2832, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002489/0.2835, allocations: 27.94 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0006342/0.2841, allocations: 0.7363 MB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2843, allocations: 59.91 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2843, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.2844, allocations: 27.97 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2847, allocations: 26.42 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.2864, allocations: 1.469 MB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2867, allocations: 0.6885 MB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.2868, allocations: 11.98 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.2868, allocations: 19.44 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2868, allocations: 0 / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.309, allocations: 2.309 MB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.968, allocations: 10.69 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches