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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009058/0.0009058, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005349/0.005349, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.273/2.273, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 16 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5795, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007489/0.5803, allocations: 328.7 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.5827, allocations: 1.756 MB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.5827, allocations: 3.938 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.5828, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.5828, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.5837, allocations: 246.9 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.5838, allocations: 131.8 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.5839, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.584, allocations: 51.89 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.5841, allocations: 55.94 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.5841, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.5846, allocations: 296.4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.5847, allocations: 35.91 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.5847, allocations: 69.42 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.5852, allocations: 275.5 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5852, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5852, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.5852, allocations: 3.938 kB / 1.026 GB, free: 12.55 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.0005997/0.5858, allocations: 413.7 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5858, allocations: 8.031 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.5859, allocations: 50.73 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.5859, allocations: 12.78 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.5861, allocations: 168.3 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5861, allocations: 12.38 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.5861, allocations: 15.94 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.5864, allocations: 214.6 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5864, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.5865, allocations: 8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5865, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.5867, allocations: 179.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.587, allocations: 270.1 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.5877, allocations: 423.7 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.5879, allocations: 185.2 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.5882, allocations: 195.2 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5882, allocations: 42.5 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.5883, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0005987/0.5889, allocations: 394.3 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.5889, allocations: 191.9 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.589, allocations: 89.86 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.589, allocations: 33.7 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.5891, allocations: 80.7 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.5891, allocations: 98.5 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.5892, allocations: 29.7 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.5893, allocations: 327 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.5894, allocations: 91.86 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.5896, allocations: 138.1 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.5899, allocations: 261.2 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5899, allocations: 4 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003889/0.5903, allocations: 293.2 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5903, allocations: 4 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5903, allocations: 4 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5904, allocations: 0 / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.5906, allocations: 59.89 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5906, allocations: 4 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.5907, allocations: 15.84 kB / 1.03 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.5907, allocations: 8 kB / 1.03 GB, free: 7.891 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.0001084/0.5908, allocations: 150.2 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.5908, allocations: 11.81 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.5914, allocations: 357.2 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5914, allocations: 7.984 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5914, allocations: 4 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5914, allocations: 0 / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.5916, allocations: 257.3 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5917, allocations: 4 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.5919, allocations: 55.89 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5919, allocations: 8 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.5919, allocations: 8 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5919, allocations: 4 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5919, allocations: 3.984 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.5923, allocations: 350.4 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.5924, allocations: 120.8 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5925, allocations: 8 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.5926, allocations: 15.98 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.5926, allocations: 23.97 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5926, allocations: 8 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.5927, allocations: 83.27 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5927, allocations: 4.094 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003605/0.593, allocations: 92 kB / 1.032 GB, free: 6.23 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.001002/0.594, allocations: 0.9806 MB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.5944, allocations: 247.7 kB / 1.033 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5944, allocations: 0 / 1.033 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.5946, allocations: 137 kB / 1.033 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.5948, allocations: 19.98 kB / 1.033 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.5955, allocations: 469.8 kB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.5957, allocations: 0.7169 MB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000213/0.5959, allocations: 109.4 kB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.596, allocations: 47.41 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.596, allocations: 0 / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.69/2.286, allocations: 3.818 MB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/2.286, allocations: 262.8 kB / 1.039 GB, free: 15.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/6.232, allocations: 8 kB / 1.039 GB, free: 15.43 MB / 0.795 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