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.0009634/0.0009634, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009654/0.0009654, allocations: 173 kB / 24.06 MB, free: 452 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.8957/0.8957, allocations: 177.1 MB / 204.5 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 1.996/1.996, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.194e-06/2.194e-06, allocations: 4 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.24e-05, allocations: 3.25 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0009454/0.0009578, allocations: 0.6238 MB / 0.88 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.002741, allocations: 1.773 MB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.002763, allocations: 1.094 kB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.002791, allocations: 0 / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.753e-05/0.002819, allocations: 0 / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.003382, allocations: 315.3 kB / 0.8821 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003515, allocations: 135.8 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.88e-05/0.003544, allocations: 0 / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.003616, allocations: 60.56 kB / 0.8823 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.003697, allocations: 60.56 kB / 0.8823 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.003712, allocations: 4 kB / 0.8823 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.004037, allocations: 334.3 kB / 0.8827 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.004075, allocations: 39.89 kB / 0.8827 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.00411, allocations: 35.88 kB / 0.8827 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.004416, allocations: 352.2 kB / 0.8831 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004418, allocations: 0 / 0.8831 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004419, allocations: 0 / 0.8831 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004423, allocations: 4.984 kB / 0.8831 GB, free: 2.309 MB / 0.8386 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.0004289/0.004852, allocations: 481.1 kB / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.004884, allocations: 9.625 kB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.004924, allocations: 20.89 kB / 0.8836 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/0.00499, allocations: 116.5 kB / 0.8837 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.005002, allocations: 8.375 kB / 0.8837 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.005019, allocations: 19.16 kB / 0.8837 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.005179, allocations: 181.1 kB / 0.8839 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005187, allocations: 0 / 0.8839 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005198, allocations: 3.984 kB / 0.8839 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.005204, allocations: 4 kB / 0.8839 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.005295, allocations: 79.84 kB / 0.8839 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.005459, allocations: 195.8 kB / 0.8841 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.005783, allocations: 340.1 kB / 0.8845 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.005865, allocations: 118.2 kB / 0.8846 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.005981, allocations: 54.41 kB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.006002, allocations: 45.33 kB / 0.8847 GB, free: 440 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.182e-06/0.006003, allocations: 0 / 0.8847 GB, free: 440 kB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0002771/0.00628, allocations: 238.7 kB / 0.8849 GB, free: 196 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.006347, allocations: 185 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.006405, allocations: 161.9 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.006421, allocations: 33.83 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.006448, allocations: 127.4 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.006517, allocations: 107.1 kB / 0.8855 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.006569, allocations: 63.31 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.006675, allocations: 0.4962 MB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.006715, allocations: 31.97 kB / 0.8861 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.006786, allocations: 106.1 kB / 0.8862 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.006921, allocations: 158.1 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.006922, allocations: 0 / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001921/0.007114, allocations: 185.4 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007127, allocations: 11.94 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007132, allocations: 7.938 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.007141, allocations: 4 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.007262, allocations: 51.97 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.007267, allocations: 11.92 kB / 0.8866 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.007317, allocations: 19.84 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.007328, allocations: 8 kB / 0.8866 GB, free: 14.3 MB / 0.8542 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.725e-05/0.007406, allocations: 172.5 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.007435, allocations: 23.89 kB / 0.8868 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.007698, allocations: 245.4 kB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.007702, allocations: 8 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.007704, allocations: 0 / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.00771, allocations: 7.984 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.007829, allocations: 153 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.007832, allocations: 4 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.007941, allocations: 51.91 kB / 0.8872 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007944, allocations: 4 kB / 0.8872 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.007955, allocations: 11.98 kB / 0.8872 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.007959, allocations: 7.938 kB / 0.8873 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007959, allocations: 0 / 0.8873 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.008175, allocations: 266.6 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.008219, allocations: 47.78 kB / 0.8876 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.008237, allocations: 8.375 kB / 0.8876 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.008281, allocations: 11.94 kB / 0.8876 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.008311, allocations: 27.94 kB / 0.8876 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.008324, allocations: 12 kB / 0.8876 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.008356, allocations: 127.1 kB / 0.8877 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008356, allocations: 0 / 0.8877 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002265/0.008582, allocations: 91.88 kB / 0.8878 GB, free: 12.96 MB / 0.8542 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.0002318/0.008814, allocations: 215.1 kB / 0.888 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.008979, allocations: 155.4 kB / 0.8882 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00898, allocations: 0 / 0.8882 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.00905, allocations: 84.27 kB / 0.8883 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.009165, allocations: 20.67 kB / 0.8883 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.00945, allocations: 319.8 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.009487, allocations: 71.84 kB / 0.8886 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.011e-05/0.009557, allocations: 37.45 kB / 0.8887 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.009627, allocations: 102.2 kB / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.009627, allocations: 0 / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.003774/0.0134, allocations: 3 MB / 0.8917 GB, free: 8.895 MB / 0.8542 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.013049744069576]