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.001111/0.001111, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001007/0.001007, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.966/0.966, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.95/1.95, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.832e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002218/0.002247, allocations: 0.6832 MB / 0.7608 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.005117, allocations: 1.777 MB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.005145, allocations: 0 / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.005184, allocations: 7.922 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.005224, allocations: 2.734 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.006238, allocations: 273.6 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.006435, allocations: 133.5 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.006481, allocations: 4 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.006604, allocations: 58.06 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.006725, allocations: 60.56 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.006753, allocations: 5.203 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.007422, allocations: 381.5 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.007484, allocations: 42.52 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.007537, allocations: 31.91 kB / 0.7635 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.008021, allocations: 347.9 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.008026, allocations: 0 / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008027, allocations: 0 / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.008031, allocations: 0.5312 kB / 0.7638 GB, free: 2.785 MB / 0.7136 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.0005822/0.008613, allocations: 346.3 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.008657, allocations: 12.03 kB / 0.7641 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.008719, allocations: 20.17 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.008905, allocations: 113.7 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.008923, allocations: 8.375 kB / 0.7643 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.008948, allocations: 12.38 kB / 0.7643 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.00919, allocations: 163.2 kB / 0.7644 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.009202, allocations: 3.938 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.00922, allocations: 4 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.00923, allocations: 4 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.009364, allocations: 70.78 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.009595, allocations: 148.2 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.0101, allocations: 272 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.01022, allocations: 93.22 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.0104, allocations: 44.97 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.01043, allocations: 44 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.01044, allocations: 0 / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0003656/0.0108, allocations: 178.7 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.01088, allocations: 195.9 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.01095, allocations: 99.39 kB / 0.7655 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01097, allocations: 30.45 kB / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.011, allocations: 84.64 kB / 0.7656 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.01109, allocations: 103.8 kB / 0.7657 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.01117, allocations: 49.67 kB / 0.7658 GB, free: 488 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.01127, allocations: 319.5 kB / 0.7661 GB, free: 160 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.01133, allocations: 29.02 kB / 0.7661 GB, free: 132 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.01143, allocations: 73.09 kB / 0.7662 GB, free: 40 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.01165, allocations: 143.9 kB / 0.7663 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01166, allocations: 2.531 kB / 0.7663 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002507/0.01191, allocations: 145.5 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01192, allocations: 4 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01193, allocations: 4 kB / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01195, allocations: 0 / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01218, allocations: 59.89 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01219, allocations: 7.938 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.01227, allocations: 19.02 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.01229, allocations: 11.98 kB / 0.7666 GB, free: 15.63 MB / 0.7292 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 9.788e-05/0.01239, allocations: 124.6 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.01243, allocations: 19.98 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.01281, allocations: 205.6 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.01281, allocations: 4 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01282, allocations: 7.875 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.01282, allocations: 5.625 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.01301, allocations: 117.7 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01301, allocations: 4 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.01323, allocations: 59.94 kB / 0.7671 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01324, allocations: 7.938 kB / 0.7671 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.01326, allocations: 13.34 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.01327, allocations: 4 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01327, allocations: 0 / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01355, allocations: 200.1 kB / 0.7673 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.01362, allocations: 39.8 kB / 0.7673 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.01365, allocations: 8 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.01373, allocations: 8 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.01378, allocations: 28.55 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.0138, allocations: 7.984 kB / 0.7674 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.196e-05/0.01381, allocations: 6.203 kB / 0.7674 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01381, allocations: 0 / 0.7674 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003951/0.01421, allocations: 100.5 kB / 0.7675 GB, free: 14.61 MB / 0.7292 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.0003973/0.0146, allocations: 204.6 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.01485, allocations: 135.2 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01485, allocations: 0 / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01496, allocations: 80.67 kB / 0.7679 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.01509, allocations: 18.2 kB / 0.7679 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.01556, allocations: 288.7 kB / 0.7682 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.532e-05/0.01563, allocations: 76.3 kB / 0.7683 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.01576, allocations: 33.72 kB / 0.7683 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01589, allocations: 80.69 kB / 0.7684 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/0.01589, allocations: 0 / 0.7684 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.007342/0.02323, allocations: 2.957 MB / 0.7713 GB, free: 10.82 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] 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","",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.114585259929299]