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.001025/0.001025, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001082/0.001082, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9307/0.9307, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.351/2.351, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.284e-06/2.284e-06, allocations: 0 / 0.8898 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.309e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001208/0.001232, allocations: 0.6134 MB / 0.8904 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.003573, allocations: 1.774 MB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.003604, allocations: 0 / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.003643, allocations: 0 / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.003681, allocations: 7.875 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.004392, allocations: 311 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.004547, allocations: 131.8 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.004594, allocations: 11.98 kB / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.282e-05/0.004677, allocations: 59.94 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.004779, allocations: 51.92 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.004802, allocations: 8 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.005172, allocations: 339.4 kB / 0.893 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.005221, allocations: 39.89 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.005267, allocations: 31.91 kB / 0.8931 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.00561, allocations: 347.1 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005612, allocations: 0 / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005613, allocations: 0 / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.005617, allocations: 0 / 0.8934 GB, free: 5.938 MB / 0.8542 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.0005083/0.006125, allocations: 480 kB / 0.8939 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.006175, allocations: 16.61 kB / 0.8939 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.006219, allocations: 16.89 kB / 0.8939 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.006303, allocations: 120.4 kB / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.006321, allocations: 12.38 kB / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.006341, allocations: 15.94 kB / 0.894 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.006538, allocations: 175.6 kB / 0.8942 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.006547, allocations: 3.938 kB / 0.8942 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.006561, allocations: 8 kB / 0.8942 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006568, allocations: 0 / 0.8942 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.006663, allocations: 83.84 kB / 0.8943 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.006882, allocations: 191.8 kB / 0.8945 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.007298, allocations: 346.9 kB / 0.8948 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.007399, allocations: 126.1 kB / 0.8949 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.007566, allocations: 48.91 kB / 0.895 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.007597, allocations: 45.33 kB / 0.895 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.007599, allocations: 0 / 0.895 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.000327/0.007926, allocations: 234.3 kB / 0.8952 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.008001, allocations: 191.9 kB / 0.8954 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.008072, allocations: 149.9 kB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.008088, allocations: 29.7 kB / 0.8956 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.00813, allocations: 131.4 kB / 0.8957 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.008212, allocations: 103.1 kB / 0.8958 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.008269, allocations: 67.44 kB / 0.8959 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.008423, allocations: 0.5001 MB / 0.8964 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.008464, allocations: 27.97 kB / 0.8964 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.008553, allocations: 107.1 kB / 0.8965 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.008703, allocations: 154.6 kB / 0.8967 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.008707, allocations: 4 kB / 0.8967 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002059/0.008913, allocations: 193.3 kB / 0.8968 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.008927, allocations: 7.938 kB / 0.8968 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.008934, allocations: 4 kB / 0.8969 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.008946, allocations: 0 / 0.8969 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.009074, allocations: 56.28 kB / 0.8969 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.009081, allocations: 8 kB / 0.8969 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.009127, allocations: 19.88 kB / 0.8969 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.00914, allocations: 12 kB / 0.8969 GB, free: 1.91 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 8.945e-05/0.009229, allocations: 172.5 kB / 0.8971 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.009259, allocations: 31.88 kB / 0.8971 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.009534, allocations: 241 kB / 0.8974 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.009538, allocations: 4 kB / 0.8974 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009542, allocations: 4 kB / 0.8974 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.009548, allocations: 3.984 kB / 0.8974 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.009683, allocations: 149.1 kB / 0.8975 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009685, allocations: 4 kB / 0.8975 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.009799, allocations: 63.89 kB / 0.8976 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009801, allocations: 0 / 0.8976 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.009817, allocations: 15.98 kB / 0.8976 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.00982, allocations: 3.938 kB / 0.8976 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.009823, allocations: 7.938 kB / 0.8976 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.01006, allocations: 268.1 kB / 0.8979 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.0101, allocations: 31.81 kB / 0.8979 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01012, allocations: 7.984 kB / 0.8979 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.01016, allocations: 11.94 kB / 0.8979 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.0102, allocations: 31.89 kB / 0.8979 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.01021, allocations: 12 kB / 0.898 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.01024, allocations: 123.2 kB / 0.8981 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 4 kB / 0.8981 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002307/0.01047, allocations: 91.86 kB / 0.8982 GB, free: 0.5703 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.0002695/0.01074, allocations: 214.9 kB / 0.8984 GB, free: 356 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.01093, allocations: 147.5 kB / 0.8985 GB, free: 204 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01093, allocations: 0 / 0.8985 GB, free: 204 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.01101, allocations: 91.59 kB / 0.8986 GB, free: 108 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.01114, allocations: 23.92 kB / 0.8986 GB, free: 84 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01152, allocations: 315 kB / 0.8989 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.01158, allocations: 75.83 kB / 0.899 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.194e-05/0.01165, allocations: 37.45 kB / 0.899 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.01174, allocations: 102.2 kB / 0.8991 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/0.01174, allocations: 0 / 0.8991 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of Templates: time 0.004722/0.01646, allocations: 2.961 MB / 0.902 GB, free: 12.53 MB / 0.8698 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.513692344073206]