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.001261/0.001265, 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.001356/0.001356, allocations: 193.5 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.434/2.434, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5153, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002932/0.5183, allocations: 2.15 MB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.5197, allocations: 1.037 MB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.5198, allocations: 4 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.348e-05/0.5199, allocations: 27.67 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.5202, allocations: 83.22 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.5206, allocations: 195.4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.5209, allocations: 294.7 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.521, allocations: 62.95 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.5211, allocations: 111.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5214, allocations: 143.4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.5214, allocations: 20 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.5218, allocations: 291.7 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.5219, allocations: 47.77 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.522, allocations: 115.3 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.5223, allocations: 326.9 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5223, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.296e-06/0.5223, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.5224, allocations: 7.938 kB / 1.022 GB, free: 13.53 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.001026/0.5234, allocations: 0.631 MB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5234, allocations: 8.031 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.5235, allocations: 46.73 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.5237, allocations: 40.56 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.524, allocations: 267.6 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.524, allocations: 12.66 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.524, allocations: 12.38 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.5245, allocations: 232.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5246, allocations: 7.938 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.5246, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.5246, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.5253, allocations: 207.5 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.5263, allocations: 0.9422 MB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.5271, allocations: 237.2 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.5274, allocations: 109.9 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.5275, allocations: 11.97 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5275, allocations: 38.56 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.5275, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001179/0.5287, allocations: 341 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5287, allocations: 81.11 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.529, allocations: 263 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.529, allocations: 29.7 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5291, allocations: 164.1 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.5292, allocations: 51.2 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.5293, allocations: 49.61 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5294, allocations: 334.8 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5297, allocations: 91.91 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.5301, allocations: 151.5 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.5307, allocations: 229.8 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5308, allocations: 4 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008073/0.5316, allocations: 293 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5316, allocations: 11.94 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5316, allocations: 8.141 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5316, allocations: 4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.5319, allocations: 63.89 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5319, allocations: 0 / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.5322, allocations: 43.8 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.5322, allocations: 4 kB / 1.027 GB, free: 8.242 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.0001086/0.5323, allocations: 138.4 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5324, allocations: 31.66 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008171/0.5332, allocations: 303.9 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5332, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5333, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5333, allocations: 4 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.5336, allocations: 285.4 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5336, allocations: 3.984 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.5339, allocations: 55.95 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5339, allocations: 4 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5339, allocations: 3.938 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5339, allocations: 4 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5339, allocations: 0 / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008419/0.5348, allocations: 442.2 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.5349, allocations: 104.8 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5349, allocations: 8 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.5352, allocations: 19.97 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.5352, allocations: 23.97 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.5353, allocations: 11.94 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001571/0.5354, allocations: 190 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5354, allocations: 0 / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003441/0.5358, allocations: 59.84 kB / 1.029 GB, free: 6.488 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.001184/0.537, allocations: 0.9862 MB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007406/0.5377, allocations: 235.7 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5377, allocations: 0 / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.5381, allocations: 124.6 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.5387, allocations: 72.91 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.5425, allocations: 2.707 MB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.5427, allocations: 0.7557 MB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.5429, allocations: 30.42 kB / 1.033 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.543, allocations: 95.39 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.543, allocations: 0 / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3946/0.9377, allocations: 6.457 MB / 1.04 GB, free: 11.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/9.08, allocations: 11.86 kB / 1.04 GB, free: 11.03 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