Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_10_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.008702/0.008702, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.002273/0.002273, allocations: 195.8 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.225/2.225, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 3.766/3.766, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003201/0.003201, allocations: 67.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5114, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004121/0.5156, allocations: 2.152 MB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.5177, allocations: 1.045 MB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.5178, allocations: 3.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.651e-05/0.518, allocations: 23.67 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.5184, allocations: 87.28 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.5189, allocations: 191.5 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.5193, allocations: 294.8 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.5195, allocations: 60.98 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.5197, allocations: 111.5 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.52, allocations: 147.3 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.52, allocations: 24 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.5205, allocations: 295.7 kB / 1.171 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.5206, allocations: 47.81 kB / 1.171 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.5208, allocations: 123.3 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.5213, allocations: 330.5 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5213, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.799e-06/0.5213, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5213, allocations: 3.938 kB / 1.171 GB, free: 2.34 MB / 0.92 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.001516/0.5228, allocations: 0.6346 MB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.5229, allocations: 8.031 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.523, allocations: 42.75 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.5233, allocations: 48.73 kB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.5238, allocations: 287.7 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5238, allocations: 12.66 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.5239, allocations: 12.38 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.5244, allocations: 232.7 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5245, allocations: 7.938 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.5245, allocations: 4 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5245, allocations: 4 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.5252, allocations: 199.8 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5265, allocations: 0.9345 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.5273, allocations: 245.2 kB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.5277, allocations: 105.6 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.5277, allocations: 4 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5278, allocations: 34.56 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.5278, allocations: 7.938 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001229/0.529, allocations: 337.5 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.5291, allocations: 85.11 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.5294, allocations: 263 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5295, allocations: 29.7 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5296, allocations: 156.3 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.5297, allocations: 63.47 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.5298, allocations: 41.56 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.53, allocations: 342.8 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.5303, allocations: 91.91 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.5307, allocations: 151.1 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.5314, allocations: 229.8 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5314, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008553/0.5323, allocations: 293.8 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5323, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5323, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.5324, allocations: 4 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.5327, allocations: 68.03 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5327, allocations: 4 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.5329, allocations: 39.81 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.5329, allocations: 8.078 kB / 1.176 GB, free: 13.05 MB / 0.9356 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.000155/0.5331, allocations: 133.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5332, allocations: 31.8 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008972/0.5341, allocations: 299.1 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5342, allocations: 4 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5342, allocations: 4 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5342, allocations: 3.984 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.5346, allocations: 297.4 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5346, allocations: 4 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.5349, allocations: 51.95 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5349, allocations: 7.938 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.535, allocations: 3.984 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.535, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.535, allocations: 4 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.5359, allocations: 448.8 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.536, allocations: 108.8 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.5361, allocations: 4 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.5364, allocations: 23.97 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.5364, allocations: 27.91 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.5365, allocations: 4 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001995/0.5367, allocations: 190 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5367, allocations: 0 / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003746/0.5371, allocations: 59.94 kB / 1.177 GB, free: 11.28 MB / 0.9356 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.001369/0.5384, allocations: 0.9886 MB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.5392, allocations: 228.1 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5393, allocations: 0 / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.5396, allocations: 119.8 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.5402, allocations: 69.41 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.5446, allocations: 2.712 MB / 1.181 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.5451, allocations: 0.748 MB / 1.182 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.5453, allocations: 30.3 kB / 1.182 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.5454, allocations: 87.41 kB / 1.182 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of SimCode: time 1.353e-06/0.5455, allocations: 0 / 1.182 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.578, allocations: 6.561 MB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.37, allocations: 11.5 kB / 1.189 GB, free: 15.74 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches