Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009061/0.0009061, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.000966/0.000966, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.393/2.393, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.187e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001649/0.00167, allocations: 0.6109 MB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.004229, allocations: 1.786 MB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.004254, allocations: 0 / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.00429, allocations: 0 / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.004324, allocations: 4 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.00517, allocations: 311 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.005305, allocations: 135.8 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.005337, allocations: 8 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.005415, allocations: 59.94 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.005496, allocations: 59.84 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.005513, allocations: 8 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.005911, allocations: 327.6 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.005954, allocations: 35.89 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.005995, allocations: 35.91 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.006341, allocations: 355 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006343, allocations: 4 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006344, allocations: 0 / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.006347, allocations: 0 / 0.8423 GB, free: 10.43 MB / 0.8073 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.0004149/0.006762, allocations: 348.2 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006798, allocations: 8.625 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.006835, allocations: 20.92 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/0.006901, allocations: 113.7 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.006913, allocations: 8.375 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.006931, allocations: 15.94 kB / 0.8427 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.007092, allocations: 158.7 kB / 0.8429 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.007102, allocations: 7.938 kB / 0.8429 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.007114, allocations: 4 kB / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.007121, allocations: 4 kB / 0.8429 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.007211, allocations: 67.84 kB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.007365, allocations: 140.3 kB / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.007685, allocations: 275.9 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.007759, allocations: 85.25 kB / 0.8435 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.007897, allocations: 52.89 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.007922, allocations: 38.56 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.007923, allocations: 0 / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0002372/0.008161, allocations: 182.7 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.008225, allocations: 183.9 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.008272, allocations: 102.7 kB / 0.844 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.008289, allocations: 29.7 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.00831, allocations: 80.77 kB / 0.8441 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.008376, allocations: 111.1 kB / 0.8442 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.008427, allocations: 53.67 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.008509, allocations: 322.8 kB / 0.8446 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.008545, allocations: 27.97 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.008604, allocations: 78.09 kB / 0.8447 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.008729, allocations: 136 kB / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008732, allocations: 0 / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004058/0.009137, allocations: 145.5 kB / 0.8449 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.00915, allocations: 7.938 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.009155, allocations: 4 kB / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.009167, allocations: 4 kB / 0.8449 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.009295, allocations: 55.89 kB / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0093, allocations: 7.984 kB / 0.845 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.009345, allocations: 15.89 kB / 0.845 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.009358, allocations: 11.92 kB / 0.845 GB, free: 7.27 MB / 0.8073 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 7.033e-05/0.009429, allocations: 128.6 kB / 0.8452 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.009453, allocations: 19.92 kB / 0.8452 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.009668, allocations: 205.6 kB / 0.8454 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.009672, allocations: 4 kB / 0.8454 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009674, allocations: 0 / 0.8454 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.009679, allocations: 8 kB / 0.8454 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.009794, allocations: 125.6 kB / 0.8455 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.009796, allocations: 0 / 0.8455 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.009907, allocations: 55.89 kB / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.009909, allocations: 0 / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.00992, allocations: 8 kB / 0.8456 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.009924, allocations: 4 kB / 0.8456 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.009926, allocations: 3.938 kB / 0.8456 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.01008, allocations: 198.2 kB / 0.8458 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.01013, allocations: 43.83 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01014, allocations: 4 kB / 0.8458 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.01018, allocations: 12 kB / 0.8458 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.01021, allocations: 23.89 kB / 0.8458 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01022, allocations: 11.98 kB / 0.8459 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.386e-06/0.01023, allocations: 8.859 kB / 0.8459 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 0 / 0.8459 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002305/0.01046, allocations: 95.86 kB / 0.846 GB, free: 6.254 MB / 0.8073 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.0002438/0.0107, allocations: 203.6 kB / 0.8461 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01086, allocations: 133.5 kB / 0.8463 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01086, allocations: 4.094 kB / 0.8463 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.01092, allocations: 84.61 kB / 0.8464 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.893e-05/0.011, allocations: 19.92 kB / 0.8464 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.0113, allocations: 288.6 kB / 0.8467 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.01134, allocations: 71.84 kB / 0.8467 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.01141, allocations: 37.45 kB / 0.8468 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.01147, allocations: 79.34 kB / 0.8468 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.01147, allocations: 0 / 0.8468 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.004049/0.01552, allocations: 2.953 MB / 0.8497 GB, free: 2.332 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151067895814776]