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.001462/0.001462, 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.001713/0.001713, allocations: 195.1 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.519/2.519, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5204, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00286/0.5233, allocations: 2.212 MB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.5247, allocations: 1.037 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.5248, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.5249, allocations: 19.78 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.5251, allocations: 67.42 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.5255, allocations: 175.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.5257, allocations: 294.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.5259, allocations: 62.95 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.526, allocations: 111.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.5262, allocations: 143.4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.5262, allocations: 16 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.5266, allocations: 303.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.5266, allocations: 47.78 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.5267, allocations: 119.3 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.527, allocations: 322.9 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5271, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5271, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.5271, allocations: 0 / 1.022 GB, free: 13.76 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.0009556/0.528, allocations: 0.631 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5281, allocations: 11.97 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.5281, allocations: 50.73 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.5283, allocations: 36.56 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.5286, allocations: 279.6 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5286, allocations: 8.656 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5287, allocations: 16.38 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.5291, allocations: 232.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5291, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.5292, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.5292, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.5298, allocations: 199.8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.5308, allocations: 0.9422 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.5316, allocations: 237.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.5319, allocations: 113.6 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.5319, allocations: 4.297 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.532, allocations: 46.5 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.532, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001099/0.5331, allocations: 329.6 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.5331, allocations: 85.03 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.5334, allocations: 267 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5334, allocations: 33.7 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.5335, allocations: 156.2 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.5335, allocations: 51.2 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.5336, allocations: 45.61 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5337, allocations: 338.8 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.534, allocations: 91.92 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.5344, allocations: 137.9 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.535, allocations: 245.8 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.535, allocations: 0 / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007528/0.5357, allocations: 300.9 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5358, allocations: 4 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5358, allocations: 3.938 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5358, allocations: 4 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5361, allocations: 59.95 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5361, allocations: 8.062 kB / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.5363, allocations: 47.78 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5363, allocations: 4 kB / 1.027 GB, free: 8.477 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.0001019/0.5364, allocations: 134.3 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.5365, allocations: 27.66 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.5373, allocations: 295 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5373, allocations: 4 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5373, allocations: 0 / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5373, allocations: 0 / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.5376, allocations: 297.4 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5376, allocations: 0 / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5379, allocations: 55.89 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5379, allocations: 0 / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5379, allocations: 8 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5379, allocations: 0 / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5379, allocations: 0 / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.5387, allocations: 452 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.5387, allocations: 96.77 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.5388, allocations: 8.281 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.539, allocations: 27.97 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5391, allocations: 19.97 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5391, allocations: 7.938 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001445/0.5393, allocations: 190 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5393, allocations: 4 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003292/0.5396, allocations: 60.09 kB / 1.028 GB, free: 6.727 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.00103/0.5407, allocations: 0.9886 MB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.5414, allocations: 235.9 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5414, allocations: 0 / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.5417, allocations: 119.8 kB / 1.029 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.5423, allocations: 79.11 kB / 1.03 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.5458, allocations: 2.793 MB / 1.032 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.5461, allocations: 0.7518 MB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.5462, allocations: 34.27 kB / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5464, allocations: 87.41 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.5464, allocations: 0 / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.826/2.373, allocations: 6.17 MB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/2.373, allocations: 212 kB / 1.039 GB, free: 11.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/5.658, allocations: 0 / 1.039 GB, free: 11.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 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.mat","/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