Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_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.005534/0.005534, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001569/0.001569, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 75.83 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6615/0.6636, allocations: 159.1 MB / 1.22 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001612/0.6652, allocations: 0.5898 MB / 1.221 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.6676, allocations: 1.734 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.6676, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.6677, allocations: 4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.93e-05/0.6677, allocations: 3.984 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.6685, allocations: 304 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.6687, allocations: 131.8 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.6688, allocations: 4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.6689, allocations: 47.91 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.669, allocations: 59.92 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.669, allocations: 4 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.6695, allocations: 343.5 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.6696, allocations: 39.89 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.6697, allocations: 47.72 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.6701, allocations: 267.4 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6701, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6701, allocations: 3.938 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6701, allocations: 0 / 1.224 GB, free: 14.6 MB / 0.9512 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.0006887/0.6708, allocations: 454.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6708, allocations: 12.03 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.6709, allocations: 42.75 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.6709, allocations: 12.88 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6711, allocations: 172.3 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6711, allocations: 16.3 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.6711, allocations: 15.94 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.6715, allocations: 222.7 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6715, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6715, allocations: 11.94 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6715, allocations: 3.938 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.6718, allocations: 175.8 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.6722, allocations: 287.1 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.6729, allocations: 407.7 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.6732, allocations: 177.2 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.6735, allocations: 199.2 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6735, allocations: 46.5 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.6736, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0006886/0.6742, allocations: 385.2 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6744, allocations: 187.9 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.6744, allocations: 93.86 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.6745, allocations: 33.7 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.6745, allocations: 84.69 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.6746, allocations: 107.1 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.6747, allocations: 57.69 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6748, allocations: 318.8 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.675, allocations: 87.94 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.6752, allocations: 145.1 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.6756, allocations: 258.5 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6756, allocations: 0 / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000479/0.6761, allocations: 297.6 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6761, allocations: 4 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6761, allocations: 4 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6761, allocations: 4 kB / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.6764, allocations: 55.91 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6764, allocations: 0 / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6765, allocations: 23.88 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.6765, allocations: 12 kB / 1.228 GB, free: 9.852 MB / 0.9512 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.0001181/0.6766, allocations: 145.6 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.6767, allocations: 11.91 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/0.6773, allocations: 356.8 kB / 1.228 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6774, allocations: 7.984 kB / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6774, allocations: 4 kB / 1.228 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.6774, allocations: 3.984 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.6776, allocations: 257.4 kB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6777, allocations: 448 / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.6779, allocations: 55.91 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6779, allocations: 4 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.6779, allocations: 15.98 kB / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6779, allocations: 0 / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.678, allocations: 4 kB / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.6785, allocations: 349.5 kB / 1.229 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6786, allocations: 120.9 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.6786, allocations: 8 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.6787, allocations: 8 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.6788, allocations: 27.95 kB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.6788, allocations: 12 kB / 1.229 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.6788, allocations: 75.28 kB / 1.229 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6788, allocations: 0 / 1.229 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003755/0.6792, allocations: 99.8 kB / 1.229 GB, free: 8.203 MB / 0.9512 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.001184/0.6804, allocations: 0.9995 MB / 1.23 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.6809, allocations: 244.3 kB / 1.231 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6809, allocations: 0 / 1.231 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.6811, allocations: 147.9 kB / 1.231 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.6813, allocations: 12 kB / 1.231 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.682, allocations: 439.8 kB / 1.231 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.6824, allocations: 0.7124 MB / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.6826, allocations: 105.4 kB / 1.232 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.6827, allocations: 39.41 kB / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.6827, allocations: 0 / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.7073, allocations: 4.122 MB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.438, allocations: 22.41 kB / 1.236 GB, free: 1.379 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches