Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001431/0.001431, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00163/0.00163, allocations: 161 kB / 23.82 MB, free: 0.75 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.9588/0.9588, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.774/1.774, allocations: 359 MB / 0.6052 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.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.76e-05, allocations: 9.438 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1314/0.1315, allocations: 150.9 MB / 0.9345 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.1478, allocations: 15.3 MB / 0.9494 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.1492, allocations: 39.62 kB / 0.9494 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1502, allocations: 404.4 kB / 0.9498 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.1533, allocations: 1.324 MB / 0.9511 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.1559, allocations: 1.34 MB / 0.9524 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.1587, allocations: 2.792 MB / 0.9552 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.1606, allocations: 1.594 MB / 0.9567 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.1643, allocations: 1.98 MB / 0.9586 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.1654, allocations: 0.7853 MB / 0.9594 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.1657, allocations: 204 kB / 0.9596 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1673, allocations: 0.9203 MB / 0.9605 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.1677, allocations: 0.5762 MB / 0.9611 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007495/0.1685, allocations: 0.7131 MB / 0.9618 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.1712, allocations: 2.188 MB / 0.9639 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1712, allocations: 4 kB / 0.9639 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1712, allocations: 3.938 kB / 0.9639 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.722e-05/0.1713, allocations: 0 / 0.9639 GB, free: 6.934 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002822/0.1741, allocations: 2.361 MB / 0.9662 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1741, allocations: 12.03 kB / 0.9662 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.1765, allocations: 0.8208 MB / 0.967 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1778, allocations: 1.084 MB / 0.9681 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.1778, allocations: 131.5 kB / 0.9682 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.178, allocations: 188 kB / 0.9684 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1803, allocations: 2.104 MB / 0.9704 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1803, allocations: 0 / 0.9704 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1804, allocations: 75.94 kB / 0.9705 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.1804, allocations: 44 kB / 0.9706 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.1819, allocations: 1.198 MB / 0.9717 GB, free: 14.59 MB / 0.9323 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.005027/0.1869, allocations: 3.918 MB / 0.9756 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.1882, allocations: 0.8717 MB / 0.9764 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.1887, allocations: 386.4 kB / 0.9768 GB, free: 9.336 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/0.1891, allocations: 137.2 kB / 0.9769 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009795/0.1901, allocations: 1.259 MB / 0.9781 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=154): time 2.895e-06/0.1901, allocations: 0 / 0.9781 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of matching and sorting (n=154): time 0.003002/0.1931, allocations: 1.6 MB / 0.9797 GB, free: 6.145 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.1932, allocations: 209.2 kB / 0.9799 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.1938, allocations: 0.7142 MB / 0.9806 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.084e-05/0.1939, allocations: 61.7 kB / 0.9807 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.1942, allocations: 0.7151 MB / 0.9813 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.1945, allocations: 0.5151 MB / 0.9819 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.1948, allocations: 277.1 kB / 0.9821 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.195, allocations: 0.5316 MB / 0.9826 GB, free: 3.039 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.1954, allocations: 263.8 kB / 0.9829 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.1959, allocations: 0.5358 MB / 0.9834 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.1968, allocations: 0.6878 MB / 0.9841 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1968, allocations: 0 / 0.9841 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001693/0.1985, allocations: 1.194 MB / 0.9852 GB, free: 284 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1985, allocations: 7.984 kB / 0.9853 GB, free: 276 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1985, allocations: 3.938 kB / 0.9853 GB, free: 272 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.1992, allocations: 262.4 kB / 0.9855 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.2001, allocations: 351.5 kB / 0.9858 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004836/0.2049, allocations: 8.941 MB / 0.9946 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.2056, allocations: 132.7 kB / 0.9947 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.2057, allocations: 59.95 kB / 0.9948 GB, free: 5.895 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000553/0.2063, allocations: 255 kB / 0.995 GB, free: 5.637 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.2066, allocations: 187.1 kB / 0.9952 GB, free: 5.453 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2085, allocations: 1.419 MB / 0.9966 GB, free: 4.004 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2085, allocations: 19.94 kB / 0.9966 GB, free: 3.984 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2085, allocations: 4 kB / 0.9966 GB, free: 3.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2085, allocations: 7.969 kB / 0.9966 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.2119, allocations: 2.68 MB / 0.9992 GB, free: 1.215 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2119, allocations: 0 / 0.9992 GB, free: 1.215 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.2126, allocations: 319.6 kB / 0.9995 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005633/0.2132, allocations: 246.2 kB / 0.9998 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.2133, allocations: 39.97 kB / 0.9998 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/0.2174, allocations: 8.973 MB / 1.009 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2174, allocations: 0 / 1.009 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.2193, allocations: 1.414 MB / 1.01 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.2197, allocations: 318.6 kB / 1.01 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2198, allocations: 35.89 kB / 1.01 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.2202, allocations: 78.56 kB / 1.01 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.2204, allocations: 125.7 kB / 1.01 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.2205, allocations: 71.94 kB / 1.011 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004114/0.221, allocations: 462.9 kB / 1.011 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.221, allocations: 0 / 1.011 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001286/0.2222, allocations: 0.6428 MB / 1.012 GB, free: 3.844 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.2237, allocations: 0.7268 MB / 1.012 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.2255, allocations: 1.729 MB / 1.014 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2255, allocations: 4.891 kB / 1.014 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.2266, allocations: 1.371 MB / 1.015 GB, free: 8 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.2279, allocations: 0.5653 MB / 1.016 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.2314, allocations: 2.597 MB / 1.018 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2317, allocations: 314.3 kB / 1.019 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000912/0.2326, allocations: 422 kB / 1.019 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.2329, allocations: 152.4 kB / 1.019 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of SimCode: time 1.282e-06/0.2329, allocations: 0 / 1.019 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of Templates: time 0.3995/0.6324, allocations: 29.66 MB / 1.048 GB, free: 150.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.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.718523068353534]