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.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.001347/0.001347, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001527/0.001527, allocations: 197.1 kB / 22.17 MB, free: 5.211 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.411/1.411, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002014/0.002014, allocations: 71.88 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7382, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001783/0.74, allocations: 0.608 MB / 1.275 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.7426, allocations: 1.749 MB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.7426, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.7426, allocations: 7.922 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.696e-05/0.7427, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.7436, allocations: 312.5 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.7438, allocations: 131.8 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.7438, allocations: 4 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.7439, allocations: 51.89 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.7441, allocations: 55.92 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.7441, allocations: 12 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.7446, allocations: 339.5 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.7447, allocations: 43.89 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.7448, allocations: 39.73 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.7452, allocations: 279.2 kB / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7452, allocations: 0 / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7452, allocations: 0 / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7452, allocations: 0 / 1.278 GB, free: 0.9688 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.0007036/0.7459, allocations: 450.8 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.7459, allocations: 8.031 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.746, allocations: 12.89 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7461, allocations: 172.2 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7461, allocations: 8.375 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.7462, allocations: 16.12 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.7465, allocations: 226.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7465, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.7466, allocations: 7.938 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7466, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.7469, allocations: 179.7 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.7472, allocations: 274.2 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.748, allocations: 387.8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.7482, allocations: 177.1 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.7485, allocations: 191.2 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.7486, allocations: 46.5 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.7486, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.000712/0.7493, allocations: 382.7 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.7494, allocations: 187.9 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.7494, allocations: 93.84 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.7495, allocations: 33.83 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.7495, allocations: 84.7 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.7496, allocations: 115 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.7497, allocations: 57.69 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7498, allocations: 318.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.75, allocations: 83.94 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.7502, allocations: 141.1 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.7505, allocations: 265 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7506, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004818/0.751, allocations: 293.4 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.751, allocations: 4 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7511, allocations: 4 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7511, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.7513, allocations: 63.89 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7513, allocations: 4 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.7514, allocations: 15.89 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.7514, allocations: 12 kB / 1.282 GB, free: 12.32 MB / 0.9825 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.0001168/0.7516, allocations: 137.8 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.7516, allocations: 15.84 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.7522, allocations: 353.4 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.7522, allocations: 4 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.7522, allocations: 12.11 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7522, allocations: 4 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.7525, allocations: 261.3 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7525, allocations: 4 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.7527, allocations: 55.95 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7527, allocations: 4 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.7528, allocations: 4 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.7528, allocations: 7.938 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.7528, allocations: 3.984 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.7533, allocations: 353.5 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.7534, allocations: 116.9 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.7534, allocations: 8 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.7535, allocations: 11.98 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.7536, allocations: 27.97 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.7536, allocations: 8 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.7536, allocations: 79.27 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7536, allocations: 0 / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000387/0.754, allocations: 95.81 kB / 1.283 GB, free: 10.67 MB / 0.9825 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.0004994/0.7545, allocations: 217.6 kB / 1.283 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.755, allocations: 252.5 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.755, allocations: 0 / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.7552, allocations: 123.8 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.7554, allocations: 16 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.756, allocations: 374.4 kB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.7563, allocations: 0.7124 MB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.7565, allocations: 113.4 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.7566, allocations: 23.42 kB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7566, allocations: 0 / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of Templates: time 0.006048/0.7626, allocations: 2.638 MB / 1.288 GB, free: 6.156 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.61667401669547]