Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001397/0.001397, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.942/0.942, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.255/2.255, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.031e-06/1.031e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.089e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0008568/0.0008677, allocations: 0.5517 MB / 0.8903 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 9.229e-05/0.00096, allocations: 19.91 kB / 0.8903 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.0009804, allocations: 0 / 0.8903 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.000992, allocations: 3.938 kB / 0.8903 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.001088, allocations: 4 kB / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.074e-06/0.00109, allocations: 4 kB / 0.8903 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.157e-05/0.001122, allocations: 4 kB / 0.8903 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.265e-05/0.001144, allocations: 4 kB / 0.8903 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.001183, allocations: 3.984 kB / 0.8903 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.774e-05/0.001211, allocations: 7.938 kB / 0.8903 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.001221, allocations: 0 / 0.8903 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.001226, allocations: 0 / 0.8903 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.001234, allocations: 0 / 0.8903 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.001245, allocations: 0 / 0.8903 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 3.292e-05/0.001278, allocations: 3.984 kB / 0.8903 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.001279, allocations: 4 kB / 0.8903 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00128, allocations: 4 kB / 0.8903 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.374e-06/0.001282, allocations: 0 / 0.8903 GB, free: 9.172 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001729/0.001455, allocations: 344.7 kB / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.001484, allocations: 8.625 kB / 0.8907 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.001502, allocations: 4.938 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.746e-05/0.00155, allocations: 108.6 kB / 0.8908 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.001557, allocations: 384 / 0.8908 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-06/0.001562, allocations: 4.375 kB / 0.8908 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.996e-05/0.001612, allocations: 45.64 kB / 0.8908 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-06/0.001617, allocations: 4.188 kB / 0.8908 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.001622, allocations: 8.359 kB / 0.8908 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.001626, allocations: 4.312 kB / 0.8908 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.076e-05/0.001637, allocations: 7.875 kB / 0.8908 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.307e-05/0.00171, allocations: 101 kB / 0.8909 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.001746, allocations: 54.19 kB / 0.891 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.001758, allocations: 15.5 kB / 0.891 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.001776, allocations: 7.938 kB / 0.891 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.001794, allocations: 37.38 kB / 0.891 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.001795, allocations: 4 kB / 0.8911 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 7.726e-05/0.001872, allocations: 45.64 kB / 0.8911 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.001899, allocations: 77.11 kB / 0.8912 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.00195, allocations: 153.9 kB / 0.8913 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.001957, allocations: 25.7 kB / 0.8913 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.001985, allocations: 130.9 kB / 0.8915 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.002003, allocations: 11.94 kB / 0.8915 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.002021, allocations: 15.38 kB / 0.8915 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.002114, allocations: 0.4887 MB / 0.892 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.002118, allocations: 4 kB / 0.892 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.00213, allocations: 19.38 kB / 0.892 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.002151, allocations: 27.31 kB / 0.892 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.002152, allocations: 0 / 0.892 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.358e-05/0.002186, allocations: 37.69 kB / 0.8921 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.002193, allocations: 4 kB / 0.8921 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.002197, allocations: 7.938 kB / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.002206, allocations: 0 / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.002248, allocations: 8.125 kB / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.00225, allocations: 0 / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-06/0.002259, allocations: 0 / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.002264, allocations: 3.938 kB / 0.8921 GB, free: 7.133 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 4.899e-05/0.002313, allocations: 168.5 kB / 0.8922 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.002316, allocations: 0 / 0.8922 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.002378, allocations: 44.62 kB / 0.8923 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.002379, allocations: 0 / 0.8923 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.002381, allocations: 4 kB / 0.8923 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.002383, allocations: 4.062 kB / 0.8923 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.994e-05/0.002433, allocations: 101.2 kB / 0.8924 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.002435, allocations: 4 kB / 0.8924 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-06/0.002443, allocations: 3.938 kB / 0.8924 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.002445, allocations: 4 kB / 0.8924 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.002448, allocations: 4 kB / 0.8924 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00245, allocations: 3.984 kB / 0.8924 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.00245, allocations: 0 / 0.8924 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.036e-05/0.002501, allocations: 84.02 kB / 0.8925 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.002517, allocations: 0 / 0.8925 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.002525, allocations: 12.02 kB / 0.8925 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.002532, allocations: 4 kB / 0.8925 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.002542, allocations: 3.984 kB / 0.8925 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.002543, allocations: 0 / 0.8925 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.002571, allocations: 123.2 kB / 0.8926 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.002571, allocations: 0 / 0.8926 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001047/0.002676, allocations: 0 / 0.8926 GB, free: 6.504 MB / 0.8542 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.731e-05/0.002733, allocations: 91.25 kB / 0.8927 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.002779, allocations: 31.7 kB / 0.8927 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00278, allocations: 0 / 0.8927 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.662e-06/0.002787, allocations: 11.69 kB / 0.8927 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.215e-05/0.002869, allocations: 7.938 kB / 0.8928 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001176/0.002987, allocations: 106.2 kB / 0.8929 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.214e-05/0.003009, allocations: 55.36 kB / 0.8929 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.003019, allocations: 0 / 0.8929 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.003045, allocations: 66.45 kB / 0.893 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/0.003046, allocations: 8 kB / 0.893 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of Templates: time 0.00116/0.004205, allocations: 221 kB / 0.8932 GB, free: 5.844 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.903087230864912]