Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00106/0.00106, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.00106/0.00106, allocations: 166.3 kB / 24.86 MB, free: 9.219 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.9098/0.9098, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.174e-05, allocations: 3.156 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0009187/0.0009304, allocations: 0.5473 MB / 0.8133 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 9.097e-05/0.001021, allocations: 17.22 kB / 0.8133 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.00105, allocations: 3.938 kB / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.001062, allocations: 0 / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.001172, allocations: 0.5 kB / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.001175, allocations: 0 / 0.8133 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.001216, allocations: 10.34 kB / 0.8133 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.00125, allocations: 3.984 kB / 0.8133 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.001295, allocations: 4 kB / 0.8133 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.001323, allocations: 0 / 0.8133 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.001334, allocations: 0 / 0.8133 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-06/0.001338, allocations: 0 / 0.8133 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.001349, allocations: 4.844 kB / 0.8133 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-06/0.001358, allocations: 4 kB / 0.8133 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 3.254e-05/0.001391, allocations: 0 / 0.8133 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.001394, allocations: 5.031 kB / 0.8133 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.1e-07/0.001394, allocations: 0 / 0.8133 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.001397, allocations: 0 / 0.8133 GB, free: 0.8867 MB / 0.7605 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.0001918/0.001588, allocations: 349.8 kB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.001615, allocations: 8.031 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.001635, allocations: 4.875 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.753e-05/0.001693, allocations: 110.6 kB / 0.8138 GB, free: 372 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.001701, allocations: 384 / 0.8138 GB, free: 372 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.001706, allocations: 384 / 0.8138 GB, free: 372 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.14e-05/0.001768, allocations: 53.62 kB / 0.8138 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.001774, allocations: 192 / 0.8138 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.00178, allocations: 5.953 kB / 0.8138 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.001786, allocations: 384 / 0.8138 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.369e-05/0.001799, allocations: 11.88 kB / 0.8139 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.755e-05/0.001877, allocations: 102 kB / 0.814 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.001914, allocations: 50.22 kB / 0.814 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.001929, allocations: 23.31 kB / 0.814 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.001942, allocations: 4.516 kB / 0.814 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.00197, allocations: 37.98 kB / 0.8141 GB, free: 16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.00197, allocations: 1.062 kB / 0.8141 GB, free: 16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 8.598e-05/0.002056, allocations: 37.64 kB / 0.8141 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.002085, allocations: 77.73 kB / 0.8142 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.002137, allocations: 162.4 kB / 0.8143 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.002146, allocations: 31.08 kB / 0.8144 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.002171, allocations: 126.9 kB / 0.8145 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.002189, allocations: 8.234 kB / 0.8145 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.002211, allocations: 20.53 kB / 0.8145 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.321e-05/0.002304, allocations: 496.1 kB / 0.815 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.00231, allocations: 0 / 0.815 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.002323, allocations: 20.31 kB / 0.815 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.002346, allocations: 28.14 kB / 0.815 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002348, allocations: 0 / 0.815 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.995e-05/0.002388, allocations: 46.48 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.002397, allocations: 7.625 kB / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.0024, allocations: 0 / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/0.002406, allocations: 0 / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.002448, allocations: 4 kB / 0.8151 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.002451, allocations: 4.828 kB / 0.8151 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.04e-05/0.002461, allocations: 3.953 kB / 0.8151 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.002466, allocations: 8.875 kB / 0.8151 GB, free: 14.85 MB / 0.7761 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.153e-05/0.002518, allocations: 152.6 kB / 0.8152 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.002524, allocations: 5.5 kB / 0.8153 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.002584, allocations: 48.62 kB / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.002585, allocations: 1.25 kB / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.002587, allocations: 0 / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.002589, allocations: 0 / 0.8153 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.032e-05/0.002639, allocations: 101.2 kB / 0.8154 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00264, allocations: 3.094 kB / 0.8154 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.002649, allocations: 7.984 kB / 0.8154 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.002651, allocations: 4 kB / 0.8154 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-06/0.002654, allocations: 0 / 0.8154 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.002655, allocations: 0 / 0.8154 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.002656, allocations: 4 kB / 0.8154 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.024e-05/0.002706, allocations: 84.02 kB / 0.8155 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.002725, allocations: 8.484 kB / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-06/0.00273, allocations: 1.344 kB / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.002737, allocations: 0 / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.002745, allocations: 0 / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.002748, allocations: 4 kB / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.002773, allocations: 120.3 kB / 0.8156 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.002773, allocations: 0 / 0.8156 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001093/0.002883, allocations: 8.594 kB / 0.8156 GB, free: 14.25 MB / 0.7761 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.599e-05/0.002939, allocations: 97.78 kB / 0.8157 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.846e-05/0.002987, allocations: 19.61 kB / 0.8157 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.002988, allocations: 0 / 0.8157 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-06/0.002996, allocations: 11.69 kB / 0.8158 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.713e-05/0.003083, allocations: 14.78 kB / 0.8158 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001235/0.003206, allocations: 102.2 kB / 0.8159 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.003231, allocations: 51.36 kB / 0.8159 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.003244, allocations: 7.938 kB / 0.8159 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.003275, allocations: 66.2 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.003275, allocations: 0 / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.001256/0.004531, allocations: 221.2 kB / 0.8162 GB, free: 13.61 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.694861541967839]