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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 158.2 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.718/2.718, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.014e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001679/0.001709, allocations: 0.6055 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.004559, allocations: 1.736 MB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.004583, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.004618, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.267e-05/0.00465, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.005611, allocations: 318.5 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.005819, allocations: 135.8 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.005858, allocations: 4 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.005971, allocations: 63.88 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.006084, allocations: 55.92 kB / 0.9538 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.006113, allocations: 4 kB / 0.9539 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.006646, allocations: 335.5 kB / 0.9542 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.00671, allocations: 39.88 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.006769, allocations: 31.91 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.007267, allocations: 355.1 kB / 0.9546 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.00727, allocations: 0 / 0.9546 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007271, allocations: 3.938 kB / 0.9546 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.007276, allocations: 3.938 kB / 0.9546 GB, free: 7.832 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.0007269/0.008003, allocations: 379.5 kB / 0.9549 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.008046, allocations: 12.02 kB / 0.955 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.008101, allocations: 12.89 kB / 0.955 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.008213, allocations: 105.7 kB / 0.9551 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.008233, allocations: 12.38 kB / 0.9551 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.008265, allocations: 16.31 kB / 0.9551 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.008654, allocations: 211.7 kB / 0.9553 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.008673, allocations: 7.922 kB / 0.9553 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.008695, allocations: 8 kB / 0.9553 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.008703, allocations: 4 kB / 0.9553 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.009018, allocations: 175.7 kB / 0.9555 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.009344, allocations: 213.7 kB / 0.9557 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008349/0.01018, allocations: 383.8 kB / 0.9561 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.01043, allocations: 169.2 kB / 0.9562 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.0107, allocations: 40.97 kB / 0.9563 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.01074, allocations: 42.5 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.01074, allocations: 0 / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007695/0.01151, allocations: 393.2 kB / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.01162, allocations: 187.9 kB / 0.9569 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.0117, allocations: 93.84 kB / 0.9569 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01174, allocations: 33.7 kB / 0.957 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.01178, allocations: 80.64 kB / 0.9571 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.01188, allocations: 99.14 kB / 0.9571 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.01198, allocations: 57.69 kB / 0.9572 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01215, allocations: 322.8 kB / 0.9575 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.0123, allocations: 83.92 kB / 0.9576 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.0125, allocations: 145.8 kB / 0.9577 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.01291, allocations: 266.5 kB / 0.958 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01291, allocations: 4 kB / 0.958 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000523/0.01344, allocations: 289.6 kB / 0.9583 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01345, allocations: 4 kB / 0.9583 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01346, allocations: 7.922 kB / 0.9583 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.01348, allocations: 7.938 kB / 0.9583 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.01373, allocations: 59.91 kB / 0.9583 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01374, allocations: 0 / 0.9583 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.01384, allocations: 15.89 kB / 0.9584 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.01386, allocations: 11.98 kB / 0.9584 GB, free: 3.633 MB / 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 0.0001214/0.01398, allocations: 137.7 kB / 0.9585 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01402, allocations: 15.95 kB / 0.9585 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.01467, allocations: 360.9 kB / 0.9589 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.01467, allocations: 11.88 kB / 0.9589 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.01468, allocations: 4 kB / 0.9589 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01469, allocations: 0 / 0.9589 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.01493, allocations: 189.1 kB / 0.9591 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01493, allocations: 448 / 0.9591 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.01516, allocations: 59.91 kB / 0.9591 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01516, allocations: 0 / 0.9591 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.01519, allocations: 19.98 kB / 0.9591 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01519, allocations: 4 kB / 0.9591 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.0152, allocations: 11.88 kB / 0.9591 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.0157, allocations: 333.2 kB / 0.9595 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.01579, allocations: 43.84 kB / 0.9595 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.01583, allocations: 8 kB / 0.9595 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.01592, allocations: 4 kB / 0.9595 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.01598, allocations: 35.83 kB / 0.9595 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.016, allocations: 11.98 kB / 0.9596 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.01605, allocations: 79.28 kB / 0.9596 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01605, allocations: 0 / 0.9596 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003922/0.01644, allocations: 99.89 kB / 0.9597 GB, free: 2.148 MB / 0.8575 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.0004678/0.01691, allocations: 222.9 kB / 0.9599 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.01735, allocations: 235.7 kB / 0.9602 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.01736, allocations: 0 / 0.9602 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.01757, allocations: 128.9 kB / 0.9603 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01777, allocations: 16 kB / 0.9603 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.01842, allocations: 358.6 kB / 0.9606 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01853, allocations: 99.81 kB / 0.9607 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.01877, allocations: 117.3 kB / 0.9609 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.01884, allocations: 28.48 kB / 0.9609 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.01885, allocations: 4 kB / 0.9609 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of Templates: time 0.00663/0.02547, allocations: 2.515 MB / 0.9633 GB, free: 14.38 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.395738940685987]