Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_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.006937/0.006937, allocations: 104.7 kB / 15.73 MB, free: 6.051 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: 191.1 kB / 16.68 MB, free: 5.965 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8505, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001674/0.8522, allocations: 0.5882 MB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.8544, allocations: 1.717 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.8545, allocations: 0 / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.8545, allocations: 0.5156 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.8545, allocations: 9.219 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.8554, allocations: 317.2 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.8556, allocations: 130.1 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.8557, allocations: 3.844 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.8558, allocations: 46.98 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.8559, allocations: 59.47 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.8559, allocations: 6.188 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.8565, allocations: 340 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.8566, allocations: 40.67 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.8566, allocations: 42.48 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.857, allocations: 273.6 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8571, allocations: 0.6562 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8571, allocations: 4.609 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.8571, allocations: 0.7188 kB / 1.091 GB, free: 3.273 MB / 0.8575 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.0006223/0.8577, allocations: 445.3 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8578, allocations: 9.406 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.8578, allocations: 50.62 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.8578, allocations: 10.67 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.8579, allocations: 178.7 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.8579, allocations: 9 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.858, allocations: 11.91 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.8583, allocations: 218.7 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8584, allocations: 1.062 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.8584, allocations: 10.2 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.8584, allocations: 7.844 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.8587, allocations: 182.6 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.859, allocations: 275.8 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.8597, allocations: 410.2 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.86, allocations: 181.8 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.8602, allocations: 197.9 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.8603, allocations: 43.02 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.8603, allocations: 0 / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007082/0.861, allocations: 385.8 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.861, allocations: 192.8 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.019e-05/0.8611, allocations: 92.72 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.8611, allocations: 30.45 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.8611, allocations: 81.67 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.8612, allocations: 99.67 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.8613, allocations: 55.83 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.8614, allocations: 330.3 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.8615, allocations: 88.3 kB / 1.094 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.8617, allocations: 133.2 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.8621, allocations: 260.8 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8621, allocations: 4.5 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004765/0.8626, allocations: 286.6 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8626, allocations: 7.016 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.8626, allocations: 1.906 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8627, allocations: 1.969 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.8629, allocations: 60.27 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8629, allocations: 3.609 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.863, allocations: 23.88 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.8631, allocations: 12.28 kB / 1.095 GB, free: 256 kB / 0.8575 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 9.505e-05/0.8632, allocations: 146.2 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.8632, allocations: 10.89 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.8639, allocations: 362 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.8639, allocations: 4.75 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8639, allocations: 1.938 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.8639, allocations: 3.453 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.8642, allocations: 257.8 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8642, allocations: 1.688 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.8645, allocations: 60.56 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8645, allocations: 10.31 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.8645, allocations: 12.2 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8645, allocations: 1.906 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8645, allocations: 2.766 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.8651, allocations: 349.2 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.8652, allocations: 121.5 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.8652, allocations: 8.047 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.8653, allocations: 6.281 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.8654, allocations: 28.3 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.8654, allocations: 11.28 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.8655, allocations: 84.19 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8655, allocations: 1.156 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004811/0.866, allocations: 92.09 kB / 1.097 GB, free: 15.31 MB / 0.8731 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.00117/0.8671, allocations: 0.9791 MB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.8676, allocations: 249.5 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8676, allocations: 0 / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.8678, allocations: 142 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.868, allocations: 22.56 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.8689, allocations: 433.6 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.8692, allocations: 0.7166 MB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.8695, allocations: 105 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.8696, allocations: 45.05 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8696, allocations: 3.938 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.8953, allocations: 4.119 MB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/8.255, allocations: 9.156 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches