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.0009666/0.0009666, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009445/0.0009445, allocations: 181 kB / 23.36 MB, free: 1.129 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.9637/0.9637, allocations: 177.2 MB / 203.8 MB, free: 5.496 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.469/2.469, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.363e-06/1.363e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.492e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001397/0.001422, allocations: 0.6619 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.003438, allocations: 1.794 MB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.003461, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.003487, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.00352, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.004157, allocations: 283 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.00429, allocations: 127.8 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.004324, allocations: 7.984 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.004404, allocations: 63.88 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.004488, allocations: 51.92 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004507, allocations: 8 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.004925, allocations: 367.5 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.004968, allocations: 47.89 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.005005, allocations: 39.88 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.005313, allocations: 347.1 kB / 0.8424 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005316, allocations: 3.984 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005317, allocations: 0 / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005321, allocations: 4 kB / 0.8424 GB, free: 10.34 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.0004112/0.005733, allocations: 344.2 kB / 0.8427 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.005765, allocations: 12.62 kB / 0.8427 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.0058, allocations: 12.92 kB / 0.8427 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/0.005865, allocations: 117.7 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.005877, allocations: 8.375 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.005893, allocations: 15.94 kB / 0.8429 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.006051, allocations: 162.7 kB / 0.843 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.006059, allocations: 3.938 kB / 0.843 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006071, allocations: 4 kB / 0.843 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006077, allocations: 4 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.006165, allocations: 71.86 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.006315, allocations: 144.3 kB / 0.8432 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.00663, allocations: 263.9 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.006705, allocations: 93.22 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.006832, allocations: 44.91 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.006858, allocations: 42.55 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.00686, allocations: 0 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0002378/0.007098, allocations: 186.3 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.007154, allocations: 191.9 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.007198, allocations: 94.72 kB / 0.8441 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.007214, allocations: 33.7 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.007233, allocations: 80.64 kB / 0.8442 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.007298, allocations: 111 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.00735, allocations: 49.61 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.007429, allocations: 318.8 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.007467, allocations: 31.97 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.007531, allocations: 74.09 kB / 0.8448 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.00766, allocations: 136.4 kB / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007662, allocations: 128 / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001496/0.007812, allocations: 149.4 kB / 0.845 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007827, allocations: 14.44 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.007832, allocations: 0 / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007846, allocations: 4 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.007989, allocations: 60.25 kB / 0.8451 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007994, allocations: 4 kB / 0.8451 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.008041, allocations: 15.89 kB / 0.8451 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.008057, allocations: 15.92 kB / 0.8452 GB, free: 7.176 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 6.545e-05/0.008122, allocations: 120.7 kB / 0.8453 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.008147, allocations: 27.92 kB / 0.8453 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.008373, allocations: 197 kB / 0.8455 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008376, allocations: 4 kB / 0.8455 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.008378, allocations: 0 / 0.8455 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008383, allocations: 7.984 kB / 0.8455 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.008502, allocations: 125.6 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008503, allocations: 0 / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.008632, allocations: 59.89 kB / 0.8457 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.008634, allocations: 0 / 0.8457 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.008647, allocations: 11.98 kB / 0.8457 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.00865, allocations: 4 kB / 0.8457 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.008652, allocations: 7.938 kB / 0.8457 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.008823, allocations: 202.6 kB / 0.8459 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.008867, allocations: 35.86 kB / 0.8459 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.008881, allocations: 0 / 0.8459 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.008927, allocations: 11.98 kB / 0.8459 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.008959, allocations: 23.91 kB / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.008971, allocations: 11.98 kB / 0.846 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.828e-06/0.008981, allocations: 8.859 kB / 0.846 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008981, allocations: 0 / 0.846 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002279/0.009209, allocations: 95.86 kB / 0.8461 GB, free: 6.164 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.0002707/0.00948, allocations: 212.1 kB / 0.8463 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.009639, allocations: 128.9 kB / 0.8464 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.009641, allocations: 0 / 0.8464 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.009846, allocations: 84.61 kB / 0.8465 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.716e-05/0.009933, allocations: 15.98 kB / 0.8465 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.01024, allocations: 290.1 kB / 0.8468 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.01029, allocations: 75.83 kB / 0.8468 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.61e-05/0.01036, allocations: 37.45 kB / 0.8469 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.01044, allocations: 75.36 kB / 0.8469 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.01044, allocations: 3.938 kB / 0.8469 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of Templates: time 0.004333/0.01477, allocations: 2.956 MB / 0.8498 GB, free: 2.234 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 -s gbode -gbm=radauIIA3 -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.383976113982499]