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.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001425/0.001425, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.345/2.345, allocations: 390.3 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5742, allocations: 140.4 MB / 0.9492 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0017/0.576, allocations: 0.6615 MB / 0.9499 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.5777, allocations: 1.713 MB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.5778, allocations: 0 / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.5778, allocations: 13.27 kB / 0.9516 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.989e-05/0.5778, allocations: 0 / 0.9516 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.5786, allocations: 271.1 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.5787, allocations: 130.6 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.5788, allocations: 2.562 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.5789, allocations: 51.73 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.579, allocations: 57.91 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.579, allocations: 5.75 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.5794, allocations: 295.3 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.5794, allocations: 40.45 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.5795, allocations: 41.12 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.5798, allocations: 278.5 kB / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5798, allocations: 0 / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5798, allocations: 0 / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5798, allocations: 0 / 0.9527 GB, free: 6.645 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.0005657/0.5804, allocations: 446.8 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5804, allocations: 10.16 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.5804, allocations: 51.77 kB / 0.9532 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.5805, allocations: 14.41 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.008e-05/0.5806, allocations: 174.4 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5806, allocations: 8.125 kB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5806, allocations: 11.81 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.5809, allocations: 215.5 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5809, allocations: 4 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.5809, allocations: 6.125 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.5809, allocations: 3.188 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.5812, allocations: 174.9 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.5814, allocations: 283.5 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/0.5821, allocations: 410.8 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.5823, allocations: 188.6 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.5825, allocations: 196.3 kB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5826, allocations: 44.16 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.5826, allocations: 4 kB / 0.9548 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0005782/0.5832, allocations: 382.1 kB / 0.9552 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5832, allocations: 188.4 kB / 0.9554 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/0.5833, allocations: 99.12 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.5833, allocations: 30.98 kB / 0.9555 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.5833, allocations: 80.7 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.5834, allocations: 95.88 kB / 0.9557 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.5835, allocations: 59.91 kB / 0.9557 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.5835, allocations: 326.1 kB / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.5836, allocations: 85.5 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.5838, allocations: 140.2 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.5841, allocations: 259.2 kB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5841, allocations: 5.406 kB / 0.9565 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003755/0.5845, allocations: 289.3 kB / 0.9568 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5845, allocations: 5.5 kB / 0.9568 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5845, allocations: 1.375 kB / 0.9568 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5845, allocations: 2.75 kB / 0.9568 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5848, allocations: 61.2 kB / 0.9569 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5848, allocations: 6.688 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.5849, allocations: 15.97 kB / 0.9569 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.5849, allocations: 9.625 kB / 0.9569 GB, free: 3.199 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.171e-05/0.585, allocations: 152.6 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.585, allocations: 10.78 kB / 0.957 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.5855, allocations: 360.2 kB / 0.9574 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5855, allocations: 4 kB / 0.9574 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5856, allocations: 6.484 kB / 0.9574 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5856, allocations: 1.062 kB / 0.9574 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.5858, allocations: 249.4 kB / 0.9576 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5858, allocations: 5.094 kB / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.586, allocations: 62.08 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.586, allocations: 3.188 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.586, allocations: 8.875 kB / 0.9577 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.586, allocations: 6.438 kB / 0.9577 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.586, allocations: 2.156 kB / 0.9577 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.5864, allocations: 352.6 kB / 0.9581 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.5865, allocations: 120.1 kB / 0.9582 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.5866, allocations: 6.5 kB / 0.9582 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.5867, allocations: 10.36 kB / 0.9582 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.5867, allocations: 27.84 kB / 0.9582 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5867, allocations: 12.06 kB / 0.9582 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.5868, allocations: 80.34 kB / 0.9583 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5868, allocations: 0 / 0.9583 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003968/0.5872, allocations: 97.67 kB / 0.9584 GB, free: 2.082 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.0009814/0.5881, allocations: 0.9826 MB / 0.9594 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.5886, allocations: 269.2 kB / 0.9596 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5886, allocations: 0 / 0.9596 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.5888, allocations: 142 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.589, allocations: 22.23 kB / 0.9598 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.5896, allocations: 482.4 kB / 0.9602 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.5898, allocations: 0.7093 MB / 0.9609 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.5901, allocations: 110.2 kB / 0.961 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.5901, allocations: 40.36 kB / 0.9611 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5901, allocations: 0 / 0.9611 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/0.7529, allocations: 3.991 MB / 0.965 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.7533, allocations: 260.8 kB / 0.9652 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.808, allocations: 3.062 kB / 0.9652 GB, free: 13.7 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