Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.001448/0.001448, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.00188/0.00188, allocations: 165 kB / 23.01 MB, free: 1.555 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.9996/0.9996, allocations: 177.1 MB / 203.4 MB, free: 5.18 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.128/2.128, allocations: 429.5 MB / 0.6732 GB, free: 3.98 MB / 0.6355 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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.962e-05, allocations: 6.953 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1375/0.1375, allocations: 155.4 MB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1521, allocations: 11.15 MB / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.1543, allocations: 99.12 kB / 1.041 GB, free: 15.05 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1554, allocations: 436.6 kB / 1.041 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.1585, allocations: 1.674 MB / 1.043 GB, free: 12.94 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.1617, allocations: 1.858 MB / 1.045 GB, free: 11.08 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004312/0.1661, allocations: 3.54 MB / 1.048 GB, free: 7.527 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.1678, allocations: 1.041 MB / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.1709, allocations: 1.782 MB / 1.051 GB, free: 4.695 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.1726, allocations: 1.015 MB / 1.052 GB, free: 3.707 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.1729, allocations: 124 kB / 1.052 GB, free: 3.586 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.1752, allocations: 1.161 MB / 1.053 GB, free: 2.422 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.1757, allocations: 0.5294 MB / 1.054 GB, free: 1.891 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.1765, allocations: 0.5727 MB / 1.054 GB, free: 1.316 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4234/0.5999, allocations: 1.834 MB / 1.056 GB, free: 55.74 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5999, allocations: 2.844 kB / 1.056 GB, free: 55.74 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5999, allocations: 0.875 kB / 1.056 GB, free: 55.74 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.431e-05/0.5999, allocations: 0 / 1.056 GB, free: 55.74 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002277/0.6022, allocations: 2.109 MB / 1.058 GB, free: 54.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6023, allocations: 9.125 kB / 1.058 GB, free: 54.66 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.6037, allocations: 0.5916 MB / 1.059 GB, free: 54.52 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.605, allocations: 1.265 MB / 1.06 GB, free: 54.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.6051, allocations: 88.95 kB / 1.06 GB, free: 54.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.6052, allocations: 111.5 kB / 1.06 GB, free: 54.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.6062, allocations: 1.173 MB / 1.061 GB, free: 53.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6063, allocations: 6.75 kB / 1.061 GB, free: 53.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.6063, allocations: 42.69 kB / 1.061 GB, free: 53.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.6064, allocations: 46.95 kB / 1.061 GB, free: 53.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.607, allocations: 463.1 kB / 1.062 GB, free: 53.5 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.6108, allocations: 7.384 MB / 1.069 GB, free: 48.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.6113, allocations: 217 kB / 1.069 GB, free: 48.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.6114, allocations: 91.3 kB / 1.069 GB, free: 48.13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.6115, allocations: 27.42 kB / 1.069 GB, free: 48.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.6115, allocations: 44.12 kB / 1.069 GB, free: 48.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.6115, allocations: 0 / 1.069 GB, free: 48.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0007917/0.6123, allocations: 429.3 kB / 1.07 GB, free: 47.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.6123, allocations: 57.28 kB / 1.07 GB, free: 47.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.6132, allocations: 1.156 MB / 1.071 GB, free: 47.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.6133, allocations: 42.02 kB / 1.071 GB, free: 47.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6136, allocations: 0.8194 MB / 1.072 GB, free: 47.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.6136, allocations: 132.2 kB / 1.072 GB, free: 47.13 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.6138, allocations: 220.2 kB / 1.072 GB, free: 47.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.6139, allocations: 0.5132 MB / 1.073 GB, free: 46.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.6141, allocations: 117.5 kB / 1.073 GB, free: 46.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.6145, allocations: 1.161 MB / 1.074 GB, free: 45.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.6151, allocations: 1.006 MB / 1.075 GB, free: 44.33 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.6151, allocations: 3.812 kB / 1.075 GB, free: 44.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009771/0.6161, allocations: 0.839 MB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6161, allocations: 15.22 kB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.6162, allocations: 21.17 kB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.6162, allocations: 27.22 kB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.6167, allocations: 235 kB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.6167, allocations: 38.52 kB / 1.076 GB, free: 44.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.6173, allocations: 149.7 kB / 1.076 GB, free: 44.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.6174, allocations: 60.97 kB / 1.076 GB, free: 44.16 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003671/0.6178, allocations: 247.9 kB / 1.077 GB, free: 44.03 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000416/0.6182, allocations: 1.16 MB / 1.078 GB, free: 42.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00061/0.6188, allocations: 1.009 MB / 1.079 GB, free: 41.75 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.154e-06/0.6188, allocations: 7.297 kB / 1.079 GB, free: 41.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.0009103/0.6197, allocations: 0.8381 MB / 1.079 GB, free: 41.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6197, allocations: 13.94 kB / 1.079 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6197, allocations: 19.42 kB / 1.08 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6197, allocations: 25.69 kB / 1.08 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.6202, allocations: 231.4 kB / 1.08 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.6202, allocations: 36.31 kB / 1.08 GB, free: 41.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.6208, allocations: 117.5 kB / 1.08 GB, free: 41.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.6208, allocations: 60.94 kB / 1.08 GB, free: 41.61 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (115): * Single equations (assignments): 115 * 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 0.0001692/0.621, allocations: 338.6 kB / 1.08 GB, free: 41.33 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6211, allocations: 151.4 kB / 1.08 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.6216, allocations: 362.3 kB / 1.081 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6216, allocations: 2.875 kB / 1.081 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6216, allocations: 0.9062 kB / 1.081 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6216, allocations: 3.188 kB / 1.081 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.6231, allocations: 1.34 MB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6231, allocations: 2.875 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.6233, allocations: 78.45 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6233, allocations: 9.406 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.6234, allocations: 17.73 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6234, allocations: 5.062 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6234, allocations: 8.953 kB / 1.082 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.6238, allocations: 0.5962 MB / 1.083 GB, free: 40.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.624, allocations: 207.6 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.6241, allocations: 10.34 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.6245, allocations: 41.8 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.6245, allocations: 35.05 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.6246, allocations: 25.31 kB / 1.083 GB, free: 40.14 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005231/0.6251, allocations: 0.6676 MB / 1.084 GB, free: 39.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6251, allocations: 1.031 kB / 1.084 GB, free: 39.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001317/0.6264, allocations: 0.6767 MB / 1.084 GB, free: 39.88 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0002915/0.6267, allocations: 181.7 kB / 1.085 GB, free: 39.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009975/0.6277, allocations: 0.7451 MB / 1.085 GB, free: 39.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6277, allocations: 1 kB / 1.085 GB, free: 39.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.6278, allocations: 105.9 kB / 1.085 GB, free: 39.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6291, allocations: 0.5022 MB / 1.086 GB, free: 39.72 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.6319, allocations: 2.161 MB / 1.088 GB, free: 38.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.6321, allocations: 269.1 kB / 1.088 GB, free: 38.49 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007575/0.6329, allocations: 327.2 kB / 1.089 GB, free: 38.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.633, allocations: 87.16 kB / 1.089 GB, free: 38.47 MB / 1.01 GB Notification: Performance of SimCode: time 1.603e-06/0.633, allocations: 0 / 1.089 GB, free: 38.47 MB / 1.01 GB Notification: Performance of Templates: time 0.02662/0.6596, allocations: 17.7 MB / 1.106 GB, free: 36.75 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.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: 6.476973671000451]