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.001167/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00122/0.00122, allocations: 193.2 kB / 16.14 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.353/2.353, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/0.5913, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001721/0.5931, allocations: 0.6637 MB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.5953, allocations: 1.776 MB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.5953, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.5954, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.5954, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.5961, allocations: 254.4 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.5962, allocations: 119.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.5963, allocations: 7.984 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.5964, allocations: 47.91 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.5965, allocations: 59.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5965, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.5969, allocations: 291.6 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.597, allocations: 47.83 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.597, allocations: 39.73 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.5974, allocations: 275.4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5974, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5974, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5974, allocations: 7.938 kB / 1.02 GB, free: 15.2 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.0006337/0.598, allocations: 441.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5981, allocations: 8.031 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.5981, allocations: 46.73 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.5982, allocations: 12.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.5983, allocations: 168.3 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5983, allocations: 16.38 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.5983, allocations: 15.94 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.5986, allocations: 210.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5987, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5987, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.5987, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.599, allocations: 179.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.5993, allocations: 282 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.5999, allocations: 411.7 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6002, allocations: 185.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.6005, allocations: 203.2 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6005, allocations: 42.5 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.6005, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006291/0.6011, allocations: 381.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.6012, allocations: 195.9 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.6013, allocations: 89.86 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6013, allocations: 29.7 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.6013, allocations: 80.7 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.6014, allocations: 102.5 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.6015, allocations: 53.69 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6016, allocations: 322.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.6018, allocations: 100 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.602, allocations: 135.5 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.6023, allocations: 256.9 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6023, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004239/0.6027, allocations: 297.4 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6028, allocations: 8 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6028, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.6028, allocations: 4 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.603, allocations: 55.89 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.603, allocations: 4 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.6031, allocations: 19.78 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.6032, allocations: 15.98 kB / 1.024 GB, free: 10.47 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.0001078/0.6033, allocations: 138.2 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.6033, allocations: 19.81 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.6039, allocations: 360.8 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6039, allocations: 4 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6039, allocations: 0.5625 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6039, allocations: 4 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.6042, allocations: 253.4 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6042, allocations: 4 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.6044, allocations: 59.89 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6044, allocations: 0 / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6044, allocations: 12 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6045, allocations: 7.984 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6045, allocations: 4 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.6049, allocations: 353.9 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.605, allocations: 120.9 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.605, allocations: 11.98 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.6051, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.6052, allocations: 23.97 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.6052, allocations: 15.98 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.6053, allocations: 79.28 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6053, allocations: 0 / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003414/0.6056, allocations: 92.09 kB / 1.026 GB, free: 8.824 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.001022/0.6066, allocations: 0.9793 MB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.607, allocations: 247.7 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.607, allocations: 0 / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.6072, allocations: 139.8 kB / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.6074, allocations: 23.03 kB / 1.027 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.6081, allocations: 477.8 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6083, allocations: 0.7127 MB / 1.028 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.6085, allocations: 113.4 kB / 1.028 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.6086, allocations: 39.41 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6086, allocations: 0 / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2951/0.9037, allocations: 3.93 MB / 1.032 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000357/0.9041, allocations: 263.4 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.622, allocations: 0 / 1.033 GB, free: 1.898 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