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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009197/0.0009196, allocations: 98.03 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.005591/0.005591, allocations: 169.4 kB / 16.26 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6028, allocations: 142.4 MB / 0.9552 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006306/0.6035, allocations: 321.9 kB / 0.9555 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.6053, allocations: 1.751 MB / 0.9572 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.6054, allocations: 0 / 0.9572 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.6054, allocations: 3.984 kB / 0.9572 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.6054, allocations: 1.469 kB / 0.9572 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.606, allocations: 241.7 kB / 0.9574 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.6062, allocations: 130.7 kB / 0.9576 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.6062, allocations: 2.281 kB / 0.9576 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.6063, allocations: 47.86 kB / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.6064, allocations: 53.59 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.6064, allocations: 10 kB / 0.9577 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.6068, allocations: 293.8 kB / 0.9579 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.6068, allocations: 41.31 kB / 0.958 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.6069, allocations: 70.38 kB / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.6072, allocations: 269 kB / 0.9583 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.6072, allocations: 0 / 0.9583 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6072, allocations: 1.312 kB / 0.9583 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.6072, allocations: 0 / 0.9583 GB, free: 5.52 MB / 0.7169 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.0004951/0.6077, allocations: 425.6 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.6078, allocations: 9.625 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.6078, allocations: 48.23 kB / 0.9588 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.6078, allocations: 10.34 kB / 0.9588 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.95e-05/0.6079, allocations: 177.3 kB / 0.959 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.6079, allocations: 13.44 kB / 0.959 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.608, allocations: 12.25 kB / 0.959 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.6082, allocations: 222.1 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6082, allocations: 1.375 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.6083, allocations: 1.375 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6083, allocations: 4.125 kB / 0.9592 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.6085, allocations: 182.7 kB / 0.9594 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.6087, allocations: 283.4 kB / 0.9596 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.6093, allocations: 410.3 kB / 0.96 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.6096, allocations: 182.6 kB / 0.9602 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.6098, allocations: 197.1 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.6098, allocations: 42.62 kB / 0.9604 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.6098, allocations: 0 / 0.9604 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005799/0.6104, allocations: 393.7 kB / 0.9608 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.6105, allocations: 188.1 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.432e-05/0.6105, allocations: 95.02 kB / 0.9611 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.6105, allocations: 30.8 kB / 0.9611 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.6105, allocations: 81.61 kB / 0.9612 GB, free: 3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.6106, allocations: 106.8 kB / 0.9613 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.6107, allocations: 29.36 kB / 0.9613 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.6107, allocations: 326.5 kB / 0.9616 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.6108, allocations: 81.44 kB / 0.9617 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.611, allocations: 144.7 kB / 0.9618 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.6113, allocations: 258.5 kB / 0.9621 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6113, allocations: 0 / 0.9621 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003853/0.6117, allocations: 289.5 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6117, allocations: 5.375 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6117, allocations: 1.094 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.6118, allocations: 7.25 kB / 0.9624 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.612, allocations: 61.61 kB / 0.9624 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.612, allocations: 3.5 kB / 0.9624 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.6121, allocations: 11.47 kB / 0.9625 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.6121, allocations: 16.86 kB / 0.9625 GB, free: 2.086 MB / 0.7169 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 8.113e-05/0.6122, allocations: 141.2 kB / 0.9626 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6122, allocations: 10.16 kB / 0.9626 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.6127, allocations: 360.6 kB / 0.963 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6128, allocations: 9.188 kB / 0.963 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6128, allocations: 5.281 kB / 0.963 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6128, allocations: 5.484 kB / 0.963 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.613, allocations: 257.5 kB / 0.9632 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.613, allocations: 1.094 kB / 0.9632 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.6132, allocations: 61.98 kB / 0.9633 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6132, allocations: 3.344 kB / 0.9633 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.6132, allocations: 7.906 kB / 0.9633 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6132, allocations: 3.875 kB / 0.9633 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6132, allocations: 1.219 kB / 0.9633 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.6136, allocations: 353.1 kB / 0.9636 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.6137, allocations: 123.4 kB / 0.9638 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.6137, allocations: 7.156 kB / 0.9638 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.6138, allocations: 14.3 kB / 0.9638 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.6138, allocations: 22.97 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.6138, allocations: 13.44 kB / 0.9638 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.445e-05/0.6139, allocations: 76.59 kB / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6139, allocations: 0 / 0.9639 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003439/0.6142, allocations: 89.45 kB / 0.964 GB, free: 0.9805 MB / 0.7169 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.0008718/0.6151, allocations: 0.9859 MB / 0.9649 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.6155, allocations: 243.8 kB / 0.9652 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6155, allocations: 0.9688 kB / 0.9652 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.6157, allocations: 137.2 kB / 0.9653 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.6158, allocations: 18.91 kB / 0.9653 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.6166, allocations: 490 kB / 0.9658 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.6168, allocations: 0.7108 MB / 0.9665 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.6171, allocations: 109.4 kB / 0.9666 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.6172, allocations: 40.5 kB / 0.9666 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6172, allocations: 0.8125 kB / 0.9666 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.552/2.169, allocations: 3.821 MB / 0.9703 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/2.17, allocations: 256.8 kB / 0.9706 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/3.975, allocations: 3.359 kB / 0.9706 GB, free: 12.77 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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