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.001248/0.001248, 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.001279/0.001279, allocations: 196.6 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.265/1.265, 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.449/2.449, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6388, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002116/0.641, allocations: 0.595 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.6431, allocations: 1.717 MB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.6432, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.6432, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.982e-05/0.6432, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.6443, allocations: 312.9 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.6445, allocations: 131.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.6445, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.6446, allocations: 47.91 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.6447, allocations: 55.92 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.6448, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.6452, allocations: 291.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.6452, allocations: 39.89 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.6453, allocations: 51.7 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.6457, allocations: 271.4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6457, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6457, allocations: 4 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6457, allocations: 0 / 1.021 GB, free: 14.99 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.0006542/0.6464, allocations: 439.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6464, allocations: 12.03 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.6465, allocations: 50.67 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.6465, allocations: 8.844 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.6466, allocations: 180.3 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.6466, allocations: 8.375 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.6467, allocations: 15.94 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.647, allocations: 215.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.647, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.647, allocations: 8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.647, allocations: 8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.6473, allocations: 179.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.6476, allocations: 278 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.6485, allocations: 411.7 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6488, allocations: 181.2 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.6491, allocations: 191.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6491, allocations: 46.48 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.6491, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006387/0.6498, allocations: 393.1 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.6499, allocations: 187.9 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.6499, allocations: 93.86 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.65, allocations: 29.7 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.65, allocations: 80.7 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.6501, allocations: 102.5 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.6502, allocations: 53.69 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.6503, allocations: 334.9 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6504, allocations: 83.92 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.6506, allocations: 145.6 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.6509, allocations: 262.4 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6509, allocations: 0 / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004141/0.6514, allocations: 293.6 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6514, allocations: 7.984 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6514, allocations: 4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6514, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.6516, allocations: 55.91 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6517, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.6518, allocations: 15.84 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.6518, allocations: 15.98 kB / 1.025 GB, free: 10.26 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.0001006/0.6519, allocations: 137.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.6519, allocations: 15.81 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.6527, allocations: 364.7 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6527, allocations: 4 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6528, allocations: 4 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6528, allocations: 0 / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.653, allocations: 261.3 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6531, allocations: 7.984 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.6533, allocations: 52.34 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6533, allocations: 4 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.6533, allocations: 15.98 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6533, allocations: 8 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6533, allocations: 0 / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.6538, allocations: 349 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.6539, allocations: 120.9 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.6539, allocations: 4 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.654, allocations: 11.94 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.654, allocations: 23.97 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6541, allocations: 11.98 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.6541, allocations: 75.28 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6541, allocations: 0 / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003592/0.6545, allocations: 100.1 kB / 1.027 GB, free: 8.602 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.001052/0.6555, allocations: 0.9906 MB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.6559, allocations: 261.3 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.656, allocations: 4 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.6561, allocations: 144 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.6564, allocations: 12 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.6573, allocations: 440.2 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.6576, allocations: 0.7124 MB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.6578, allocations: 109.4 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.6579, allocations: 39.41 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of SimCode: time 1.683e-06/0.6579, allocations: 0 / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.6877, allocations: 4.072 MB / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.233, allocations: 6.125 kB / 1.033 GB, free: 1.824 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