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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 152 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.002373/0.002373, allocations: 197 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.489/2.489, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8694 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5465, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003054/0.5496, allocations: 2.146 MB / 1.02 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.5511, allocations: 1.045 MB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.5512, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.5513, allocations: 23.67 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.5516, allocations: 79.28 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.552, allocations: 199.2 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000256/0.5522, allocations: 302.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.5524, allocations: 62.95 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.5525, allocations: 99.64 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.5527, allocations: 143.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.5528, allocations: 20 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.5532, allocations: 291.6 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.5532, allocations: 47.78 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.5533, allocations: 123.3 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.5537, allocations: 322.9 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5537, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5537, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.5537, allocations: 3.984 kB / 1.022 GB, free: 13.61 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001072/0.5548, allocations: 0.6233 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5549, allocations: 12.03 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.234e-05/0.5549, allocations: 50.67 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.5551, allocations: 36.56 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.5555, allocations: 271.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5555, allocations: 16.66 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.5555, allocations: 16.31 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.556, allocations: 232.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5561, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.5561, allocations: 8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.5561, allocations: 8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.5568, allocations: 199.7 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.5578, allocations: 0.9422 MB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.5586, allocations: 237.2 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.5589, allocations: 117.5 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.559, allocations: 8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.559, allocations: 34.56 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.559, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001191/0.5602, allocations: 337.9 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5602, allocations: 81.11 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5605, allocations: 271 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5605, allocations: 25.7 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.5606, allocations: 164.2 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.5606, allocations: 59.19 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.5607, allocations: 45.61 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5608, allocations: 338.8 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.5612, allocations: 87.92 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.5615, allocations: 142 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.5622, allocations: 245.7 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5622, allocations: 0 / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008266/0.563, allocations: 297.1 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5631, allocations: 8 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5631, allocations: 0 / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5631, allocations: 4 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.5634, allocations: 55.89 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5634, allocations: 4 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.5637, allocations: 39.8 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5637, allocations: 16.06 kB / 1.027 GB, free: 8.312 MB / 0.7794 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.0001111/0.5638, allocations: 133.7 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5639, allocations: 31.66 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.5647, allocations: 291.1 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5648, allocations: 4 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5648, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5648, allocations: 4 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.5651, allocations: 293.4 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5651, allocations: 0 / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.5654, allocations: 51.95 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5654, allocations: 4 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5654, allocations: 4 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.5654, allocations: 8 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5654, allocations: 3.938 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.5663, allocations: 443.7 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.5663, allocations: 100.8 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.5664, allocations: 4 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.5667, allocations: 27.97 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.5667, allocations: 23.97 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5667, allocations: 4 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001566/0.5669, allocations: 190 kB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5669, allocations: 0 / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000366/0.5673, allocations: 59.84 kB / 1.029 GB, free: 6.57 MB / 0.7794 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.001135/0.5684, allocations: 0.9965 MB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007625/0.5692, allocations: 229.2 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5692, allocations: 384 / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.5696, allocations: 128 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.5702, allocations: 82.72 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.574, allocations: 2.695 MB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5743, allocations: 0.7518 MB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.5744, allocations: 38.27 kB / 1.033 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5746, allocations: 87.41 kB / 1.034 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.5746, allocations: 0 / 1.034 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.5983, allocations: 6.461 MB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.895, allocations: 10.92 kB / 1.04 GB, free: 11.1 MB / 0.795 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