Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.EpsilonNTUZ,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.001625/0.001625, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001957/0.001957, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.491/2.491, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5545, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00149/0.556, allocations: 0.6597 MB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.5579, allocations: 1.725 MB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.5579, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.5579, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.498e-05/0.558, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.5587, allocations: 285.9 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.5588, allocations: 127.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.5589, allocations: 8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.5589, allocations: 51.89 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.559, allocations: 55.94 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.5591, allocations: 7.938 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.5594, allocations: 292.4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.5595, allocations: 39.89 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.5595, allocations: 51.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.5598, allocations: 263.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5598, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5598, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.5598, allocations: 4 kB / 1.02 GB, free: 15.12 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005604/0.5604, allocations: 443.3 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5604, allocations: 15.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.5605, allocations: 46.73 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.5605, allocations: 8.844 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.5606, allocations: 176.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5606, allocations: 12.38 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.5607, allocations: 19.88 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.5609, allocations: 206.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.561, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.561, allocations: 8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.561, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.5612, allocations: 183.7 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.5615, allocations: 278.1 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.5621, allocations: 411.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.5623, allocations: 177.2 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.5626, allocations: 199.2 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5627, allocations: 46.48 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.5627, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.000578/0.5632, allocations: 389.1 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.5633, allocations: 191.9 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.5634, allocations: 89.86 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5634, allocations: 33.7 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.5635, allocations: 80.7 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.5635, allocations: 94.56 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.5636, allocations: 57.69 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.5637, allocations: 318.8 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5638, allocations: 99.98 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.564, allocations: 142.2 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.5643, allocations: 258.5 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5643, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003915/0.5647, allocations: 293.6 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5648, allocations: 11.98 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5648, allocations: 4 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.5648, allocations: 0 / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.565, allocations: 59.84 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.565, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-05/0.5651, allocations: 19.84 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.5651, allocations: 11.98 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001014/0.5652, allocations: 142.2 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.5653, allocations: 11.81 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.5658, allocations: 368.7 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5658, allocations: 7.984 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5658, allocations: 4 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5659, allocations: 3.984 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.5661, allocations: 249.4 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5661, allocations: 0 / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5663, allocations: 60.34 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5663, allocations: 4 kB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.5663, allocations: 11.98 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.5663, allocations: 12 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5664, allocations: 0 / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.5668, allocations: 349.4 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.5669, allocations: 120.9 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.5669, allocations: 8 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.567, allocations: 8 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.567, allocations: 23.97 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5671, allocations: 11.98 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.5671, allocations: 79.28 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5671, allocations: 0 / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003521/0.5675, allocations: 91.98 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0009765/0.5685, allocations: 0.9918 MB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.5688, allocations: 260.3 kB / 1.027 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5688, allocations: 4 kB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.569, allocations: 151.9 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.5692, allocations: 12 kB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.5699, allocations: 476.2 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5701, allocations: 0.7124 MB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000211/0.5703, allocations: 113.3 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.5704, allocations: 47.41 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5704, allocations: 0 / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4178/0.9883, allocations: 3.992 MB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/0.9885, allocations: 258.9 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.117, allocations: 64 / 1.033 GB, free: 1.738 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches