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.001091/0.001091, 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.001139/0.001139, allocations: 192.9 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.551/2.551, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5998, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001722/0.6015, allocations: 0.5872 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.6036, allocations: 1.721 MB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.6036, allocations: 0 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.6037, allocations: 0 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.995e-05/0.6037, allocations: 3.938 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.6045, allocations: 308.9 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.6047, allocations: 135.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.6047, allocations: 3.984 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.6048, allocations: 51.91 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.6049, allocations: 51.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.6049, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.6053, allocations: 287.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.6054, allocations: 47.89 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.6055, allocations: 43.67 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.6058, allocations: 275.4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6058, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6058, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.6058, allocations: 0 / 1.021 GB, free: 14.91 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.0006036/0.6064, allocations: 443.2 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6065, allocations: 8.031 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.6065, allocations: 42.73 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.6066, allocations: 12.84 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.6067, allocations: 172.3 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.6067, allocations: 12.38 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.6067, allocations: 11.94 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.607, allocations: 219.6 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.607, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.6071, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6071, allocations: 8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.6073, allocations: 179.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.6076, allocations: 278 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.6083, allocations: 415.8 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6085, allocations: 185.1 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.6088, allocations: 199.2 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.6089, allocations: 42.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.6089, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006171/0.6095, allocations: 382.4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.6096, allocations: 199.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.6096, allocations: 89.86 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.6097, allocations: 29.7 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.6097, allocations: 80.7 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.6098, allocations: 102.6 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.6099, allocations: 49.69 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.61, allocations: 323 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.6101, allocations: 91.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.6103, allocations: 141.6 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.6106, allocations: 261.2 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6106, allocations: 3.938 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004118/0.611, allocations: 293.3 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6111, allocations: 8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6111, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6111, allocations: 7.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6113, allocations: 51.95 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6113, allocations: 7.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.6114, allocations: 15.84 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.6115, allocations: 19.92 kB / 1.025 GB, free: 10.18 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.0001003/0.6116, allocations: 133.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.6116, allocations: 23.75 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.6122, allocations: 361.4 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6122, allocations: 4 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6122, allocations: 0 / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6122, allocations: 4 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.6124, allocations: 257.3 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6125, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.6127, allocations: 55.89 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6127, allocations: 4 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6127, allocations: 15.98 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6127, allocations: 4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6127, allocations: 3.938 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.6132, allocations: 349 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.6133, allocations: 120.9 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.6133, allocations: 8 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.6134, allocations: 4 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.6135, allocations: 23.91 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.6135, allocations: 15.98 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.6135, allocations: 79.28 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6135, allocations: 0 / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003554/0.6139, allocations: 96.08 kB / 1.027 GB, free: 8.531 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.001016/0.6149, allocations: 0.9901 MB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.6153, allocations: 268.6 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6153, allocations: 0 / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.6155, allocations: 139.8 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.6157, allocations: 21.83 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.6164, allocations: 436.1 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.6166, allocations: 0.7178 MB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.6169, allocations: 105.4 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.6169, allocations: 43.41 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.617, allocations: 0 / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.6358, allocations: 4.067 MB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.902, allocations: 3.438 kB / 1.033 GB, free: 1.754 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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