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.001467/0.001467, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001607/0.001607, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9257/0.9257, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.746/1.746, allocations: 359 MB / 0.6063 GB, free: 10.9 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.242e-06/1.242e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.697e-05, allocations: 2.812 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001026/0.001043, allocations: 0.5456 MB / 0.7888 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.001151, allocations: 15.92 kB / 0.7888 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.001179, allocations: 0 / 0.7888 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.001195, allocations: 0.875 kB / 0.7888 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.001327, allocations: 7.922 kB / 0.7888 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.514e-06/0.001329, allocations: 0 / 0.7888 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.001379, allocations: 5.406 kB / 0.7888 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.001417, allocations: 0 / 0.7888 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.001472, allocations: 11.92 kB / 0.7889 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.001506, allocations: 1.062 kB / 0.7889 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.00152, allocations: 0 / 0.7889 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.001525, allocations: 0 / 0.7889 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.001541, allocations: 9.547 kB / 0.7889 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.001554, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 4.685e-05/0.001601, allocations: 4 kB / 0.7889 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.001603, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001604, allocations: 0 / 0.7889 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.001609, allocations: 1.562 kB / 0.7889 GB, free: 11.66 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.0002405/0.001849, allocations: 340.3 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.001892, allocations: 12.03 kB / 0.7892 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.001915, allocations: 0.9375 kB / 0.7892 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.337e-05/0.001978, allocations: 109.9 kB / 0.7893 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.001989, allocations: 4.375 kB / 0.7893 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-06/0.001994, allocations: 384 / 0.7893 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.478e-05/0.002058, allocations: 59.66 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.002065, allocations: 192 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00207, allocations: 384 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.002075, allocations: 384 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.002088, allocations: 14.05 kB / 0.7894 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.354e-05/0.002172, allocations: 105 kB / 0.7895 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.834e-05/0.00221, allocations: 50.06 kB / 0.7895 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.002226, allocations: 23.5 kB / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.002241, allocations: 0 / 0.7896 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.002261, allocations: 41.33 kB / 0.7896 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.002261, allocations: 0.5312 kB / 0.7896 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.076e-05/0.002352, allocations: 39.34 kB / 0.7896 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.002382, allocations: 81.05 kB / 0.7897 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.002435, allocations: 158.6 kB / 0.7899 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.002443, allocations: 25.7 kB / 0.7899 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.002467, allocations: 128 kB / 0.79 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.002487, allocations: 4.297 kB / 0.79 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.002509, allocations: 23.36 kB / 0.79 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.002611, allocations: 0.4895 MB / 0.7905 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-06/0.002617, allocations: 0 / 0.7905 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.002631, allocations: 20.75 kB / 0.7905 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.002654, allocations: 23.38 kB / 0.7906 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.002655, allocations: 5.688 kB / 0.7906 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.056e-05/0.002696, allocations: 41.69 kB / 0.7906 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.002706, allocations: 8 kB / 0.7906 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.00271, allocations: 0 / 0.7906 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.002717, allocations: 0.9688 kB / 0.7906 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.002763, allocations: 4 kB / 0.7906 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.002766, allocations: 4.5 kB / 0.7906 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.002777, allocations: 3.953 kB / 0.7906 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.002787, allocations: 13.09 kB / 0.7906 GB, free: 9.621 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.228e-05/0.00284, allocations: 152.6 kB / 0.7908 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-06/0.002844, allocations: 0 / 0.7908 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.002912, allocations: 51.75 kB / 0.7908 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.002914, allocations: 4 kB / 0.7908 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.002916, allocations: 3.984 kB / 0.7908 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.002919, allocations: 0 / 0.7908 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.293e-05/0.002972, allocations: 97.2 kB / 0.7909 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.002973, allocations: 0 / 0.7909 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.002983, allocations: 4.5 kB / 0.7909 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.002985, allocations: 1.938 kB / 0.7909 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.002989, allocations: 4 kB / 0.7909 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.002989, allocations: 0 / 0.7909 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00299, allocations: 0 / 0.7909 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.036e-05/0.003041, allocations: 84.06 kB / 0.791 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.003058, allocations: 2.5 kB / 0.791 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.003065, allocations: 7.938 kB / 0.791 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.003071, allocations: 0 / 0.791 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.003081, allocations: 3.984 kB / 0.791 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.003083, allocations: 0 / 0.791 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.003114, allocations: 123.2 kB / 0.7912 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.003114, allocations: 0.7188 kB / 0.7912 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001095/0.003223, allocations: 4 kB / 0.7912 GB, free: 9.023 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 0.0001925/0.003416, allocations: 96.09 kB / 0.7912 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.988e-05/0.003466, allocations: 16.52 kB / 0.7913 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.003467, allocations: 1.281 kB / 0.7913 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.003477, allocations: 19.61 kB / 0.7913 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.723e-05/0.003564, allocations: 8.719 kB / 0.7913 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001459/0.00371, allocations: 109.4 kB / 0.7914 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.00374, allocations: 56.25 kB / 0.7915 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.003754, allocations: 1.531 kB / 0.7915 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.003783, allocations: 70.2 kB / 0.7915 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.003783, allocations: 0 / 0.7915 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.001313/0.005097, allocations: 231.2 kB / 0.7917 GB, free: 8.371 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.666686201933771]