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.001357/0.001357, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001769/0.001769, allocations: 218.4 kB / 23.01 MB, free: 4.609 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 8.004 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 3.286/3.286, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.001927/0.001927, allocations: 67.11 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3421, allocations: 176.1 MB / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001853/0.344, allocations: 0.6021 MB / 1.328 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.3466, allocations: 1.814 MB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.3467, allocations: 3.938 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.3467, allocations: 7.875 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.3467, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.3476, allocations: 313.8 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3478, allocations: 131.8 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.3479, allocations: 4 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.348, allocations: 51.95 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3481, allocations: 59.86 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3481, allocations: 4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.3486, allocations: 355.6 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.3487, allocations: 39.89 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.3487, allocations: 35.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.3491, allocations: 295.1 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3491, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 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.0006531/0.3498, allocations: 377.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3498, allocations: 12.03 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3499, allocations: 8.891 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.35, allocations: 118.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.35, allocations: 8.375 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.35, allocations: 16.12 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3503, allocations: 210.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3504, allocations: 3.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3504, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3504, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.3507, allocations: 179.8 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.351, allocations: 257.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.3517, allocations: 383.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.3519, allocations: 161.1 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.3522, allocations: 48.94 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3522, allocations: 46.5 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3522, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.000692/0.3529, allocations: 398.4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.353, allocations: 183.9 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.3531, allocations: 93.86 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3531, allocations: 29.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.3532, allocations: 80.64 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3533, allocations: 103.1 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.3534, allocations: 53.69 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3535, allocations: 322.8 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3537, allocations: 87.92 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.3538, allocations: 149.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.3542, allocations: 261.2 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3542, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004687/0.3547, allocations: 289.3 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3547, allocations: 9.719 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3547, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3547, allocations: 8 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.355, allocations: 55.89 kB / 1.335 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.355, allocations: 4 kB / 1.335 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.3551, allocations: 16.27 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3551, allocations: 19.92 kB / 1.335 GB, free: 9.43 MB / 1.029 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.0001272/0.3552, allocations: 138.2 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3552, allocations: 15.89 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.3559, allocations: 376.8 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3559, allocations: 4 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3559, allocations: 0 / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3559, allocations: 4 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3561, allocations: 224.5 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3562, allocations: 3.984 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3564, allocations: 55.91 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3564, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3564, allocations: 15.98 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3564, allocations: 0 / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3564, allocations: 4 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.3569, allocations: 349.6 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.357, allocations: 47.8 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.357, allocations: 8 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.3571, allocations: 12 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3571, allocations: 19.95 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3572, allocations: 12 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.3572, allocations: 79.27 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3572, allocations: 0 / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003761/0.3576, allocations: 95.81 kB / 1.336 GB, free: 7.902 MB / 1.029 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.0003745/0.3579, allocations: 207 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.3584, allocations: 243.6 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3584, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3585, allocations: 127.7 kB / 1.337 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.3587, allocations: 19.92 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.3593, allocations: 385.5 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3597, allocations: 0.7124 MB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.3598, allocations: 35.41 kB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3598, allocations: 0 / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of Templates: time 0.005234/0.365, allocations: 3.019 MB / 1.341 GB, free: 3.086 MB / 1.029 GB " [Timeout remaining time 300] 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.204248887021095]