Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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.001396/0.001396, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001596/0.001596, allocations: 181 kB / 24.09 MB, free: 420 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.9801/0.9801, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.503e-05, allocations: 4.219 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0009598/0.0009748, allocations: 0.5453 MB / 0.7881 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.001083, allocations: 16.88 kB / 0.7881 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.001108, allocations: 0 / 0.7881 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.001123, allocations: 4.625 kB / 0.7881 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.001254, allocations: 3.984 kB / 0.7881 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.325e-06/0.001257, allocations: 0.625 kB / 0.7881 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.001299, allocations: 8.812 kB / 0.7881 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.00133, allocations: 0 / 0.7881 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.509e-05/0.001385, allocations: 7.984 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.001423, allocations: 0.9688 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.001436, allocations: 0 / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.001442, allocations: 1.031 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.001456, allocations: 4 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.244e-05/0.001468, allocations: 0 / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 4.317e-05/0.001512, allocations: 0.625 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001513, allocations: 3.938 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.001514, allocations: 1.312 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.001518, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000219/0.001737, allocations: 348.4 kB / 0.7884 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.001772, allocations: 10.97 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.151e-05/0.001793, allocations: 0.9375 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.954e-05/0.001853, allocations: 116.5 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.00186, allocations: 384 / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.001866, allocations: 384 / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.111e-05/0.001938, allocations: 45.64 kB / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.001944, allocations: 4.172 kB / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00195, allocations: 1.656 kB / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.001955, allocations: 384 / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.001971, allocations: 11.88 kB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.699e-05/0.002068, allocations: 105.5 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.002109, allocations: 51.84 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.002123, allocations: 15.38 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.002144, allocations: 8 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.002165, allocations: 42 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.002166, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.325e-05/0.002259, allocations: 43 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.002292, allocations: 81.11 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.002354, allocations: 150.8 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.002362, allocations: 27.08 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.00239, allocations: 126.9 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.002416, allocations: 12.28 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.002437, allocations: 23.36 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.002555, allocations: 497.9 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-06/0.002563, allocations: 4 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.002577, allocations: 15.38 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.002604, allocations: 32.84 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002606, allocations: 0 / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.401e-05/0.00265, allocations: 45.62 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.00266, allocations: 4.5 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.002664, allocations: 1.844 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.002673, allocations: 0 / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.002724, allocations: 7.938 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.002726, allocations: 0 / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.002738, allocations: 7.953 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.002744, allocations: 10.3 kB / 0.7899 GB, free: 9.582 MB / 0.7448 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.815e-05/0.002803, allocations: 152.6 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-06/0.002807, allocations: 4 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.002876, allocations: 48.62 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.002878, allocations: 0.5312 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.002879, allocations: 0.7188 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.002883, allocations: 0 / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.75e-05/0.00294, allocations: 97.73 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.002941, allocations: 0 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.002953, allocations: 5.156 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.002954, allocations: 0 / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.002957, allocations: 0 / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.002959, allocations: 8.578 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00296, allocations: 0.75 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.576e-05/0.003016, allocations: 88 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.003039, allocations: 8.828 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-06/0.003044, allocations: 0 / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-06/0.00305, allocations: 1.812 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.00306, allocations: 4 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.003062, allocations: 0 / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.003094, allocations: 119.2 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.003094, allocations: 0.8125 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001067/0.003201, allocations: 4 kB / 0.7904 GB, free: 8.984 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 5.9e-05/0.00326, allocations: 97.59 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.076e-05/0.00331, allocations: 19.61 kB / 0.7905 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.003312, allocations: 4 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.003319, allocations: 9.688 kB / 0.7905 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.773e-05/0.003407, allocations: 7.938 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/0.003564, allocations: 106.1 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.00359, allocations: 55.36 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.003603, allocations: 1.125 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.003635, allocations: 70.14 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.003636, allocations: 1.25 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.001263/0.004899, allocations: 233.2 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.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.674670230131596]