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.001201/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001126/0.001127, allocations: 188.3 kB / 16.25 MB, free: 6.633 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.474/2.474, allocations: 437.1 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 67.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5296, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002714/0.5323, allocations: 1.672 MB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.5337, allocations: 0.9047 MB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.5338, allocations: 3.938 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.5338, allocations: 3.984 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.534, allocations: 27.8 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.5344, allocations: 119.8 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.5346, allocations: 75.66 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.5347, allocations: 15.98 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.5348, allocations: 35.91 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.5349, allocations: 31.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.5349, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.5352, allocations: 287.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.5353, allocations: 15.91 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.5353, allocations: 27.81 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.5355, allocations: 149.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5356, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5356, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5356, allocations: 0 / 1.02 GB, free: 15.34 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.0005246/0.5361, allocations: 412.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5362, allocations: 12.02 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.5362, allocations: 34.75 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.5363, allocations: 8.844 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5365, allocations: 188.1 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.5365, allocations: 384 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.5365, allocations: 4.375 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.5367, allocations: 77.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.5367, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5367, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5367, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.5369, allocations: 39.97 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.5373, allocations: 296.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.5374, allocations: 58.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.5375, allocations: 28.95 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.5376, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5376, allocations: 34.56 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.5376, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003448/0.5379, allocations: 113.5 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.538, allocations: 51.41 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.5381, allocations: 128 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5381, allocations: 33.64 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.5382, allocations: 100 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.5382, allocations: 11.81 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.5382, allocations: 25.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.5383, allocations: 322.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.5384, allocations: 23.92 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.5385, allocations: 23.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5386, allocations: 52.84 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5386, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002056/0.5389, allocations: 93.56 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5389, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5389, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5389, allocations: 3.984 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.539, allocations: 19.92 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.539, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.5391, allocations: 7.984 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5391, allocations: 0 / 1.022 GB, free: 12.93 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 7.535e-05/0.5392, allocations: 126.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.5393, allocations: 7.906 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.5395, allocations: 102 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5395, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5395, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5395, allocations: 3.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.5397, allocations: 186.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5397, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.5398, allocations: 19.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5398, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5398, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5398, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5398, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5401, allocations: 187.4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.5401, allocations: 89.02 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5401, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.5402, allocations: 15.92 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5403, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.5403, allocations: 4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.5404, allocations: 108.6 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5404, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002412/0.5406, allocations: 24 kB / 1.023 GB, free: 11.97 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.0005559/0.5412, allocations: 0.728 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.5414, allocations: 59.89 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5414, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.5415, allocations: 35.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.5418, allocations: 19.91 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.5433, allocations: 1.47 MB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.5435, allocations: 0.6924 MB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.5435, allocations: 4 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.5436, allocations: 23.42 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5436, allocations: 8 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8227/1.366, allocations: 2.161 MB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.367, allocations: 221 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/4.268, allocations: 0 / 1.028 GB, free: 6.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 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.mat","/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