Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009562/0.0009562, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009712/0.0009712, allocations: 173 kB / 24.28 MB, free: 276 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.9348/0.9348, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 11.01 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.387e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001426/0.00146, allocations: 0.5534 MB / 0.7876 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.001616, allocations: 36.39 kB / 0.7876 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.001669, allocations: 3.938 kB / 0.7876 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.001706, allocations: 4.609 kB / 0.7876 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.001862, allocations: 5.406 kB / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.634e-05/0.001919, allocations: 7.922 kB / 0.7877 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.001985, allocations: 11.94 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.002026, allocations: 3.984 kB / 0.7877 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.002086, allocations: 8.844 kB / 0.7877 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.002155, allocations: 7.984 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.002173, allocations: 0.5625 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.002181, allocations: 1.25 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.00223, allocations: 4 kB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.002258, allocations: 3.938 kB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.908e-05/0.002347, allocations: 23.91 kB / 0.7877 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00235, allocations: 1.625 kB / 0.7877 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.002352, allocations: 0 / 0.7877 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.002356, allocations: 0 / 0.7877 GB, free: 12.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003768/0.002733, allocations: 356.6 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.002785, allocations: 9.25 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.002822, allocations: 4.938 kB / 0.7881 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.002975, allocations: 116.6 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.002984, allocations: 1.062 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.003004, allocations: 1.281 kB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.219e-05/0.003076, allocations: 34.25 kB / 0.7882 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003082, allocations: 4.781 kB / 0.7882 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.003092, allocations: 4.375 kB / 0.7882 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.0031, allocations: 5.953 kB / 0.7882 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.114e-05/0.003111, allocations: 3.938 kB / 0.7882 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.00323, allocations: 112.6 kB / 0.7884 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.003267, allocations: 31.08 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.003285, allocations: 8.406 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.003298, allocations: 0 / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.003317, allocations: 40.86 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.003318, allocations: 0 / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000123/0.003441, allocations: 37.64 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/0.003661, allocations: 55.34 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.00375, allocations: 169.9 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.003759, allocations: 29.7 kB / 0.7887 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.003798, allocations: 130.9 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.00382, allocations: 7.953 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.003848, allocations: 20.09 kB / 0.7889 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.003953, allocations: 492.1 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.003964, allocations: 5.656 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.003983, allocations: 19.38 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.004019, allocations: 28.64 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004021, allocations: 0 / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.624e-05/0.004078, allocations: 45.64 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.004091, allocations: 4.594 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004096, allocations: 1.344 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.00411, allocations: 0 / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.0042, allocations: 7.984 kB / 0.7894 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.004205, allocations: 0 / 0.7894 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.004221, allocations: 9.344 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004227, allocations: 0 / 0.7894 GB, free: 10.21 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 6.168e-05/0.004289, allocations: 152.6 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.004295, allocations: 5.188 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.00438, allocations: 49.09 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.004382, allocations: 0 / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.004385, allocations: 0.5312 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.00439, allocations: 4.469 kB / 0.7896 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.501e-05/0.004465, allocations: 124.5 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004466, allocations: 0.875 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.00451, allocations: 4 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.004512, allocations: 0.8125 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.004525, allocations: 0 / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.004526, allocations: 0.7812 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.004527, allocations: 4 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.004633, allocations: 81.75 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.004654, allocations: 4 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.004669, allocations: 9.141 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.00468, allocations: 0 / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.004695, allocations: 7.875 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.004697, allocations: 0.7812 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.004743, allocations: 135.2 kB / 0.79 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004743, allocations: 0 / 0.79 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001197/0.004863, allocations: 4.531 kB / 0.79 GB, free: 9.574 MB / 0.7448 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 8.291e-05/0.004946, allocations: 96.06 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.005022, allocations: 12.62 kB / 0.7901 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.005024, allocations: 1.219 kB / 0.7901 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.005033, allocations: 11.69 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.00515, allocations: 8 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.005407, allocations: 123.8 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.005439, allocations: 51.36 kB / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.005455, allocations: 6.312 kB / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.005481, allocations: 8.5 kB / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.005482, allocations: 0 / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.002106/0.007588, allocations: 350.9 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.924096436006948]