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.001052/0.001052, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009984/0.0009984, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9873/0.9873, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.846/1.846, allocations: 359 MB / 0.6052 GB, free: 11.04 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 3.136e-06/3.136e-06, allocations: 4.984 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.513e-05, allocations: 6.031 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001475/0.00151, allocations: 0.5451 MB / 0.7876 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.001686, allocations: 40.47 kB / 0.7876 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.001739, allocations: 0 / 0.7876 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.001779, allocations: 0.5312 kB / 0.7876 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.001939, allocations: 8.719 kB / 0.7876 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.538e-05/0.001994, allocations: 4 kB / 0.7877 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.002063, allocations: 17.53 kB / 0.7877 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.002113, allocations: 4 kB / 0.7877 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.002178, allocations: 4 kB / 0.7877 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.002259, allocations: 7.984 kB / 0.7877 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.002278, allocations: 4 kB / 0.7877 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.002288, allocations: 1.219 kB / 0.7877 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.002346, allocations: 7.922 kB / 0.7877 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.002372, allocations: 4 kB / 0.7877 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.002452, allocations: 13.52 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.002456, allocations: 7.922 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002457, allocations: 0 / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.002462, allocations: 0 / 0.7877 GB, free: 10.77 MB / 0.698 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.0003789/0.002841, allocations: 363.7 kB / 0.7881 GB, free: 10.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.002886, allocations: 12.03 kB / 0.7881 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.002924, allocations: 0.9375 kB / 0.7881 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.003095, allocations: 116.6 kB / 0.7882 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003105, allocations: 4.375 kB / 0.7882 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.003129, allocations: 384 / 0.7882 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.369e-05/0.003203, allocations: 26.27 kB / 0.7882 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003209, allocations: 192 / 0.7882 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003219, allocations: 1.125 kB / 0.7882 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.003226, allocations: 4.375 kB / 0.7882 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.315e-05/0.003239, allocations: 4.531 kB / 0.7882 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.00337, allocations: 124.5 kB / 0.7883 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.817e-05/0.003408, allocations: 28.53 kB / 0.7884 GB, free: 9.984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.003425, allocations: 11.75 kB / 0.7884 GB, free: 9.969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.003442, allocations: 0 / 0.7884 GB, free: 9.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.003464, allocations: 34.67 kB / 0.7884 GB, free: 9.926 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.003465, allocations: 0 / 0.7884 GB, free: 9.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.003611, allocations: 45.62 kB / 0.7885 GB, free: 9.875 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.003642, allocations: 52.03 kB / 0.7885 GB, free: 9.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.003734, allocations: 169.9 kB / 0.7887 GB, free: 9.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.003745, allocations: 27.02 kB / 0.7887 GB, free: 9.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.003786, allocations: 126.9 kB / 0.7888 GB, free: 9.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.003806, allocations: 4 kB / 0.7888 GB, free: 9.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.003838, allocations: 24.86 kB / 0.7888 GB, free: 9.434 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.003961, allocations: 0.4884 MB / 0.7893 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.004021, allocations: 0 / 0.7893 GB, free: 8.934 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/0.004046, allocations: 19.38 kB / 0.7893 GB, free: 8.906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.004087, allocations: 29.25 kB / 0.7894 GB, free: 8.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004089, allocations: 0 / 0.7894 GB, free: 8.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.404e-05/0.004153, allocations: 38.31 kB / 0.7894 GB, free: 8.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.004169, allocations: 8 kB / 0.7894 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.004174, allocations: 1.969 kB / 0.7894 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.004188, allocations: 0 / 0.7894 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.004266, allocations: 4 kB / 0.7894 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.004272, allocations: 3.938 kB / 0.7894 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.00429, allocations: 7.938 kB / 0.7894 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.004298, allocations: 4.781 kB / 0.7894 GB, free: 8.801 MB / 0.698 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.725e-05/0.004365, allocations: 153.3 kB / 0.7896 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.004373, allocations: 3.984 kB / 0.7896 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.00448, allocations: 46.44 kB / 0.7896 GB, free: 8.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.004482, allocations: 0 / 0.7896 GB, free: 8.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.004489, allocations: 7.984 kB / 0.7896 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.004493, allocations: 8.562 kB / 0.7896 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.938e-05/0.004572, allocations: 113.8 kB / 0.7898 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.004573, allocations: 0 / 0.7898 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.004618, allocations: 4 kB / 0.7898 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.004622, allocations: 4.734 kB / 0.7898 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.004636, allocations: 0 / 0.7898 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004637, allocations: 3.938 kB / 0.7898 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004638, allocations: 4.656 kB / 0.7898 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.004746, allocations: 84.83 kB / 0.7899 GB, free: 8.309 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.004767, allocations: 5.094 kB / 0.7899 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.004779, allocations: 0 / 0.7899 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.004789, allocations: 0 / 0.7899 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.004806, allocations: 4.906 kB / 0.7899 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.004808, allocations: 0 / 0.7899 GB, free: 8.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.004853, allocations: 132 kB / 0.79 GB, free: 8.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.004853, allocations: 0 / 0.79 GB, free: 8.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001348/0.004987, allocations: 7.938 kB / 0.79 GB, free: 8.164 MB / 0.698 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.864e-05/0.005076, allocations: 93.47 kB / 0.7901 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.005156, allocations: 23.61 kB / 0.7901 GB, free: 8.035 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005158, allocations: 0 / 0.7901 GB, free: 8.035 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.005169, allocations: 14.44 kB / 0.7901 GB, free: 8.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.005289, allocations: 9.812 kB / 0.7901 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.00555, allocations: 115 kB / 0.7902 GB, free: 7.871 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.005591, allocations: 59.34 kB / 0.7903 GB, free: 7.793 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.005607, allocations: 0 / 0.7903 GB, free: 7.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.005636, allocations: 12.5 kB / 0.7903 GB, free: 7.777 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/0.005638, allocations: 1.5 kB / 0.7903 GB, free: 7.777 MB / 0.698 GB Notification: Performance of Templates: time 0.002043/0.007681, allocations: 362.8 kB / 0.7907 GB, free: 7.434 MB / 0.698 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: 5.136010057292879]