Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.0009759/0.0009759, allocations: 85.27 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.001651/0.001651, allocations: 165 kB / 23.27 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.9207/0.9207, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.219/2.219, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.331e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001131/0.001155, allocations: 0.5624 MB / 0.8903 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.001297, allocations: 39.89 kB / 0.8903 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.001342, allocations: 3.938 kB / 0.8903 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.001378, allocations: 0 / 0.8903 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.001513, allocations: 11.92 kB / 0.8903 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.209e-05/0.001555, allocations: 3.938 kB / 0.8903 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.001608, allocations: 11.98 kB / 0.8903 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.001638, allocations: 4 kB / 0.8903 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.001692, allocations: 8 kB / 0.8904 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.001765, allocations: 11.92 kB / 0.8904 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.001779, allocations: 0 / 0.8904 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.001787, allocations: 4 kB / 0.8904 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.001829, allocations: 11.97 kB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.001849, allocations: 4 kB / 0.8904 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.879e-05/0.001908, allocations: 15.86 kB / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00191, allocations: 0 / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.81e-07/0.001911, allocations: 0 / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.001914, allocations: 0 / 0.8904 GB, free: 9.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002682/0.002182, allocations: 348.7 kB / 0.8907 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.002216, allocations: 16.62 kB / 0.8907 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.002237, allocations: 4.891 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.002336, allocations: 120.6 kB / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.002343, allocations: 384 / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.002355, allocations: 384 / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.009e-05/0.002405, allocations: 34.19 kB / 0.8909 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.00241, allocations: 192 / 0.8909 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.002415, allocations: 4.375 kB / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.002419, allocations: 384 / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-06/0.002427, allocations: 7.922 kB / 0.8909 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.405e-05/0.002511, allocations: 97.27 kB / 0.891 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.175e-05/0.002543, allocations: 27.06 kB / 0.891 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.002553, allocations: 11.78 kB / 0.891 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.002568, allocations: 3.984 kB / 0.891 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.002586, allocations: 37.33 kB / 0.8911 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.002587, allocations: 0 / 0.8911 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 8.904e-05/0.002676, allocations: 37.66 kB / 0.8911 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.002697, allocations: 51.41 kB / 0.8912 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.002762, allocations: 169.9 kB / 0.8913 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.002771, allocations: 33.83 kB / 0.8914 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.002807, allocations: 126.9 kB / 0.8915 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.002823, allocations: 0 / 0.8915 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.002846, allocations: 23.36 kB / 0.8915 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.002947, allocations: 0.4883 MB / 0.892 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.002953, allocations: 4 kB / 0.892 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.002968, allocations: 15.38 kB / 0.892 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.002994, allocations: 27.31 kB / 0.892 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.002997, allocations: 4 kB / 0.892 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.591e-05/0.003043, allocations: 49.64 kB / 0.8921 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.003052, allocations: 4 kB / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.003056, allocations: 0 / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.003065, allocations: 3.938 kB / 0.8921 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.003111, allocations: 4 kB / 0.8921 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003113, allocations: 0 / 0.8921 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.003124, allocations: 4 kB / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.003129, allocations: 3.938 kB / 0.8921 GB, free: 7.141 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.262e-05/0.003182, allocations: 156.6 kB / 0.8922 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-06/0.003187, allocations: 8.062 kB / 0.8923 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.003254, allocations: 49.09 kB / 0.8923 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.003255, allocations: 0 / 0.8923 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.003257, allocations: 0 / 0.8923 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.003259, allocations: 0 / 0.8923 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.418e-05/0.003324, allocations: 109.1 kB / 0.8924 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.003324, allocations: 0 / 0.8924 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.00335, allocations: 4 kB / 0.8924 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.003351, allocations: 0 / 0.8924 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.003359, allocations: 3.984 kB / 0.8924 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00336, allocations: 0 / 0.8924 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00336, allocations: 4.031 kB / 0.8924 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.17e-05/0.003432, allocations: 76.34 kB / 0.8925 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.003447, allocations: 7.984 kB / 0.8925 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.003454, allocations: 0 / 0.8925 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.003462, allocations: 0 / 0.8925 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.003473, allocations: 7.938 kB / 0.8925 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.003475, allocations: 4.25 kB / 0.8925 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.003508, allocations: 131.2 kB / 0.8926 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.003508, allocations: 0 / 0.8926 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001147/0.003623, allocations: 4 kB / 0.8926 GB, free: 6.516 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 6.373e-05/0.003686, allocations: 95.31 kB / 0.8927 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.003735, allocations: 15.69 kB / 0.8927 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.003736, allocations: 0 / 0.8927 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.003748, allocations: 19.61 kB / 0.8928 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.591e-05/0.003844, allocations: 11.94 kB / 0.8928 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001713/0.004015, allocations: 110.4 kB / 0.8929 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.522e-05/0.00404, allocations: 55.36 kB / 0.8929 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.631e-05/0.004056, allocations: 12.17 kB / 0.8929 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.004089, allocations: 70.14 kB / 0.893 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.00409, allocations: 0 / 0.893 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of Templates: time 0.001599/0.005689, allocations: 361.5 kB / 0.8934 GB, free: 5.715 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.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: 4.963226128835231]