Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001582/0.001582, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.001753/0.001753, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.844/2.844, allocations: 0.49 GB / 0.7922 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001706/1.107, allocations: 0.5908 MB / 1.323 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002104/1.109, allocations: 1.809 MB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/1.109, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/1.109, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/1.11, allocations: 3.938 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/1.11, allocations: 321.6 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/1.111, allocations: 124.2 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/1.111, allocations: 2.875 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/1.111, allocations: 47.88 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/1.111, allocations: 69.84 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/1.111, allocations: 5.594 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/1.111, allocations: 344.4 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/1.111, allocations: 41.75 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/1.111, allocations: 44.8 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/1.112, allocations: 277 kB / 1.326 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.112, allocations: 0 / 1.326 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/1.112, allocations: 0 / 1.326 GB, free: 23.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.291e-06/1.112, allocations: 0 / 1.326 GB, free: 23.02 MB / 1.061 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.0006411/1.112, allocations: 451.7 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.112, allocations: 15.45 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/1.112, allocations: 7.797 kB / 1.326 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.356e-05/1.112, allocations: 178.7 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/1.112, allocations: 10.38 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/1.112, allocations: 16.94 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/1.113, allocations: 216.6 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.113, allocations: 0 / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.113, allocations: 6.562 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.113, allocations: 2.562 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/1.113, allocations: 180.1 kB / 1.327 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/1.113, allocations: 291 kB / 1.327 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/1.114, allocations: 389 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/1.114, allocations: 165.3 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/1.115, allocations: 194.1 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.115, allocations: 49.06 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/1.115, allocations: 0.9062 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0007278/1.115, allocations: 385.9 kB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.116, allocations: 191.5 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/1.116, allocations: 91.58 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.116, allocations: 31.89 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/1.116, allocations: 84.7 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/1.116, allocations: 105 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/1.116, allocations: 55.64 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/1.116, allocations: 321.2 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.116, allocations: 90.28 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/1.116, allocations: 144.2 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/1.117, allocations: 261.6 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.117, allocations: 0.5938 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005183/1.117, allocations: 298.1 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.117, allocations: 8.656 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.117, allocations: 1.469 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.117, allocations: 3.516 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.117, allocations: 55.62 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.117, allocations: 6.328 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/1.117, allocations: 17.09 kB / 1.33 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/1.118, allocations: 14.92 kB / 1.33 GB, free: 20.03 MB / 1.061 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.906e-05/1.118, allocations: 135 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/1.118, allocations: 14.25 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/1.118, allocations: 359.5 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.118, allocations: 4.688 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.118, allocations: 5.031 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.118, allocations: 3.609 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/1.119, allocations: 262.4 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.119, allocations: 5.812 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/1.119, allocations: 51.73 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.119, allocations: 3.75 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.119, allocations: 10.19 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.119, allocations: 11.19 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.119, allocations: 2.219 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/1.119, allocations: 345.1 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/1.119, allocations: 121.5 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/1.119, allocations: 11.7 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/1.12, allocations: 6.922 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/1.12, allocations: 28.62 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/1.12, allocations: 15.33 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.735e-05/1.12, allocations: 76.38 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.12, allocations: 0 / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004847/1.12, allocations: 94.89 kB / 1.331 GB, free: 19.1 MB / 1.061 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.0004536/1.121, allocations: 202.4 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004767/1.121, allocations: 246.5 kB / 1.332 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.121, allocations: 0 / 1.332 GB, free: 18.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/1.121, allocations: 130.9 kB / 1.332 GB, free: 18.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/1.121, allocations: 18.17 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/1.122, allocations: 390.1 kB / 1.332 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/1.122, allocations: 0.7166 MB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/1.122, allocations: 39.39 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.122, allocations: 1.062 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of Templates: time 0.006918/1.129, allocations: 3.024 MB / 1.336 GB, free: 17.62 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.788188001999515]