Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437.1 MB / 0.7177 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00185/0.3516, allocations: 0.5952 MB / 1.176 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3542, allocations: 1.725 MB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.3543, allocations: 0 / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.3543, allocations: 0 / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.3544, allocations: 3.938 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.3553, allocations: 303.6 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3556, allocations: 139.8 kB / 1.179 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.3556, allocations: 0 / 1.179 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.3557, allocations: 47.95 kB / 1.179 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3558, allocations: 63.86 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3559, allocations: 4 kB / 1.179 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.3564, allocations: 335.6 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.3565, allocations: 39.89 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.3566, allocations: 47.78 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.357, allocations: 271.2 kB / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.357, allocations: 0 / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.357, allocations: 0 / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.357, allocations: 0 / 1.179 GB, free: 2.305 MB / 0.92 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.0007284/0.3577, allocations: 450.8 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3578, allocations: 12.03 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.3578, allocations: 8.891 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.358, allocations: 176.2 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.358, allocations: 8.375 kB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.358, allocations: 16.12 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.3584, allocations: 227.6 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3584, allocations: 0 / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3585, allocations: 8 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3585, allocations: 0 / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3588, allocations: 175.8 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3591, allocations: 290.1 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.3599, allocations: 407.8 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.3602, allocations: 189 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/0.3606, allocations: 195.2 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3606, allocations: 42.56 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.3607, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007032/0.3614, allocations: 382.7 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3615, allocations: 191.9 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.3616, allocations: 97.8 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3616, allocations: 33.7 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.3617, allocations: 80.7 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3618, allocations: 107.1 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.3619, allocations: 61.62 kB / 1.182 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.362, allocations: 318.8 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3622, allocations: 95.92 kB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3624, allocations: 133.2 kB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3628, allocations: 257 kB / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3628, allocations: 0 / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004542/0.3632, allocations: 301.3 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3633, allocations: 6.188 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3633, allocations: 4 kB / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3633, allocations: 0 / 1.183 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3635, allocations: 63.89 kB / 1.183 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3635, allocations: 0 / 1.183 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.3636, allocations: 19.89 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3637, allocations: 19.92 kB / 1.184 GB, free: 13.6 MB / 0.9356 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.0001282/0.3638, allocations: 133.8 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3638, allocations: 11.89 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.3645, allocations: 365.3 kB / 1.184 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3645, allocations: 8 kB / 1.184 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3645, allocations: 4 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3645, allocations: 3.984 kB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3648, allocations: 261.5 kB / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3648, allocations: 0 / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.365, allocations: 59.89 kB / 1.184 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.365, allocations: 4 kB / 1.184 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3651, allocations: 8 kB / 1.184 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3651, allocations: 3.984 kB / 1.184 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3651, allocations: 7.938 kB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.3656, allocations: 345.1 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3657, allocations: 109 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3658, allocations: 11.98 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.3658, allocations: 8 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.3659, allocations: 31.91 kB / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.3659, allocations: 15.98 kB / 1.185 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.366, allocations: 75.28 kB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.366, allocations: 0 / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003972/0.3664, allocations: 87.88 kB / 1.185 GB, free: 11.96 MB / 0.9356 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.0006387/0.367, allocations: 225.4 kB / 1.185 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.3675, allocations: 248.3 kB / 1.185 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3675, allocations: 0 / 1.185 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3677, allocations: 148 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.368, allocations: 14.19 kB / 1.186 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.3687, allocations: 388 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3691, allocations: 0.7163 MB / 1.187 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.3692, allocations: 35.41 kB / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3692, allocations: 0 / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.005698/0.3749, allocations: 2.896 MB / 1.19 GB, free: 7.234 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.79682640102692]