Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_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.00805/0.00805, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001817/0.001817, allocations: 193.2 kB / 16.67 MB, free: 5.906 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.25 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2707, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002486/0.2732, allocations: 1.607 MB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2747, allocations: 0.906 MB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.2748, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.2749, allocations: 7.875 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.2751, allocations: 19.84 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.2754, allocations: 143.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.2756, allocations: 79.66 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2757, allocations: 15.97 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.301e-05/0.2758, allocations: 35.84 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.2759, allocations: 39.84 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2759, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.2763, allocations: 287.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2763, allocations: 7.938 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.2764, allocations: 39.72 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2766, allocations: 154.5 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2766, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2766, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2766, allocations: 0 / 1.091 GB, free: 14.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005669/0.2772, allocations: 408 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2773, allocations: 8.031 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2773, allocations: 34.75 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2774, allocations: 16.81 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.2776, allocations: 184.2 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2776, allocations: 20 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2777, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2778, allocations: 61.66 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2779, allocations: 8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.2779, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2779, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.278, allocations: 39.97 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.2784, allocations: 304.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2786, allocations: 54.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.2787, allocations: 28.97 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2787, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2787, allocations: 34.56 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.2787, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003431/0.2791, allocations: 113.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2791, allocations: 55.41 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.2792, allocations: 130.9 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2792, allocations: 29.7 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2793, allocations: 96.12 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.2793, allocations: 11.75 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.2794, allocations: 17.72 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.2794, allocations: 326.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.2795, allocations: 19.98 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.2796, allocations: 23.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2798, allocations: 53.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2798, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002004/0.28, allocations: 93.5 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.28, allocations: 8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.28, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.28, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2801, allocations: 11.98 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2802, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.2802, allocations: 15.88 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2802, allocations: 7.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 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 7.577e-05/0.2803, allocations: 109.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.2804, allocations: 7.906 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.2806, allocations: 105.9 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2806, allocations: 3.938 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2806, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2806, allocations: 3.938 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2808, allocations: 181.6 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2808, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.2809, allocations: 11.98 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2809, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2809, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.281, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.281, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2812, allocations: 187.4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.2813, allocations: 92.89 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2813, allocations: 4.188 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.2814, allocations: 15.98 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.2814, allocations: 7.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2814, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.2815, allocations: 101.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2815, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002376/0.2817, allocations: 31.89 kB / 1.094 GB, free: 11.25 MB / 0.8575 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.0005413/0.2823, allocations: 0.7321 MB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2825, allocations: 55.89 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2825, allocations: 4 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.2826, allocations: 27.98 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2829, allocations: 19.92 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2843, allocations: 1.449 MB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2845, allocations: 0.6885 MB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.2845, allocations: 11.75 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.2846, allocations: 27.42 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.2846, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.3038, allocations: 2.314 MB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.548, allocations: 9.797 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches