Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_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.001393/0.001393, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.581/2.581, allocations: 437.1 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.6149, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002742/0.6177, allocations: 1.608 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.619, allocations: 0.9045 MB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.6191, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.6191, allocations: 7.922 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.6193, allocations: 23.78 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.6197, allocations: 145.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.6198, allocations: 83.64 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.6199, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.62, allocations: 31.92 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.6201, allocations: 39.83 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.6201, allocations: 11.94 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.6205, allocations: 283.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.6205, allocations: 11.94 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.6205, allocations: 31.8 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.6208, allocations: 145.9 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6208, allocations: 3.938 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6208, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6208, allocations: 0 / 1.021 GB, free: 15.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005414/0.6214, allocations: 412.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6214, allocations: 8.031 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.6214, allocations: 30.75 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.6215, allocations: 16.83 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.6217, allocations: 192.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6217, allocations: 384 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.6217, allocations: 8.375 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.6219, allocations: 65.78 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6219, allocations: 7.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.622, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.622, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.6221, allocations: 43.91 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.6225, allocations: 288.8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.6227, allocations: 62.55 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.6228, allocations: 24.97 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.6228, allocations: 3.938 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6228, allocations: 42.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.6228, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003497/0.6232, allocations: 113.5 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.6232, allocations: 51.41 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.6233, allocations: 131.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6233, allocations: 29.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.6234, allocations: 96.05 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.6234, allocations: 11.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.6235, allocations: 21.72 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.6236, allocations: 326.8 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.6237, allocations: 19.98 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.6237, allocations: 27.98 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.6239, allocations: 52.77 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6239, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000213/0.6241, allocations: 89.56 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6241, allocations: 12 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6242, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6242, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6243, allocations: 19.92 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6243, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.6244, allocations: 8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.6244, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 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.131e-05/0.6245, allocations: 121.7 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.6245, allocations: 11.89 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.6248, allocations: 97.91 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6248, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6248, allocations: 0.5 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6248, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.625, allocations: 189.6 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.625, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.6251, allocations: 19.98 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6251, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6251, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6251, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6251, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.6254, allocations: 195.3 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.6254, allocations: 81.02 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.6255, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.6256, allocations: 8 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.6256, allocations: 7.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.6256, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.6257, allocations: 100.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6257, allocations: 4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002372/0.6259, allocations: 16 kB / 1.024 GB, free: 11.77 MB / 0.7794 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.0005715/0.6265, allocations: 0.7474 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.6267, allocations: 51.97 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6267, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.6268, allocations: 35.91 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.6271, allocations: 12 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.6286, allocations: 1.459 MB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.6288, allocations: 0.6924 MB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.6288, allocations: 11.97 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.6289, allocations: 31.36 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6289, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.6473, allocations: 2.27 MB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.907, allocations: 13.23 kB / 1.029 GB, free: 6.43 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches