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.001596/0.001596, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001561/0.001561, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.305 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.618/2.618, allocations: 443.4 MB / 0.7304 GB, free: 13.84 MB / 0.5762 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.002057/0.002057, allocations: 71.89 kB / 1.059 GB, free: 304 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001946/0.3495, allocations: 0.6058 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3523, allocations: 1.741 MB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.3523, allocations: 3.938 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.3523, allocations: 4 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.428e-05/0.3524, allocations: 0 / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.3534, allocations: 311 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3536, allocations: 135.8 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.3536, allocations: 0 / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.3537, allocations: 51.95 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3538, allocations: 55.88 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3539, allocations: 4 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.3544, allocations: 339.5 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3544, allocations: 35.91 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.3545, allocations: 51.77 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.355, allocations: 275.2 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.355, allocations: 4 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.355, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.355, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 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.0007749/0.3558, allocations: 438.9 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3558, allocations: 11.97 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.3559, allocations: 8.891 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.356, allocations: 176.3 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.356, allocations: 12.31 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.3561, allocations: 16.12 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3564, allocations: 212.1 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3565, allocations: 3.938 kB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.3565, allocations: 8 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3565, allocations: 11.98 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3568, allocations: 179.7 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3572, allocations: 282 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.358, allocations: 387.8 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3582, allocations: 173.1 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/0.3586, allocations: 191.2 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.3587, allocations: 46.48 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.3587, allocations: 0 / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0007147/0.3594, allocations: 382.6 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.3595, allocations: 191.9 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.3596, allocations: 89.86 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3596, allocations: 33.7 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.3597, allocations: 84.7 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3598, allocations: 107.1 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.3599, allocations: 53.69 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3601, allocations: 323 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3602, allocations: 91.92 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3604, allocations: 137.1 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3608, allocations: 265.1 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3608, allocations: 0 / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004685/0.3613, allocations: 305.2 kB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3613, allocations: 4 kB / 1.224 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3613, allocations: 0 / 1.224 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3613, allocations: 4 kB / 1.224 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.3616, allocations: 59.91 kB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3616, allocations: 3.984 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.3617, allocations: 19.88 kB / 1.224 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3617, allocations: 12 kB / 1.224 GB, free: 7.008 MB / 0.9669 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.0001316/0.3618, allocations: 133.8 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3619, allocations: 19.88 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.3625, allocations: 361.5 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3625, allocations: 7.938 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3625, allocations: 4 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3625, allocations: 3.984 kB / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3628, allocations: 261.3 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3629, allocations: 0 / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.3631, allocations: 59.91 kB / 1.225 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3631, allocations: 4 kB / 1.225 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3631, allocations: 15.98 kB / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3631, allocations: 0 / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3631, allocations: 7.938 kB / 1.225 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.3636, allocations: 345 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3638, allocations: 117 kB / 1.225 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3638, allocations: 8 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.3639, allocations: 8 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3639, allocations: 19.97 kB / 1.225 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.364, allocations: 15.98 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.364, allocations: 75.28 kB / 1.225 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.364, allocations: 4.094 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004214/0.3644, allocations: 95.86 kB / 1.225 GB, free: 5.355 MB / 0.9669 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.0005542/0.365, allocations: 207.9 kB / 1.225 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.3654, allocations: 247.7 kB / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3654, allocations: 0 / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3656, allocations: 131.8 kB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3658, allocations: 12 kB / 1.226 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.3665, allocations: 374.3 kB / 1.226 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3669, allocations: 0.7085 MB / 1.227 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.3671, allocations: 109.4 kB / 1.227 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3672, allocations: 31.41 kB / 1.227 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.3672, allocations: 4 kB / 1.227 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.006737/0.3739, allocations: 2.633 MB / 1.23 GB, free: 0.8477 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.196255207061768]