Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009739/0.0009739, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001108/0.001108, allocations: 181 kB / 23.36 MB, free: 1.133 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.953/0.953, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.48/2.48, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.833e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1474/0.1474, allocations: 150.2 MB / 0.9853 GB, free: 7.34 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1652, allocations: 15.27 MB / 1 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.167, allocations: 39.69 kB / 1 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.1681, allocations: 392.5 kB / 1.001 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.1717, allocations: 1.293 MB / 1.002 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1744, allocations: 1.317 MB / 1.003 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.1775, allocations: 2.773 MB / 1.006 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/0.1805, allocations: 1.78 MB / 1.008 GB, free: 468 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.1834, allocations: 1.775 MB / 1.009 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009931/0.1844, allocations: 0.7594 MB / 1.01 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.1846, allocations: 208 kB / 1.01 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.1864, allocations: 0.9632 MB / 1.011 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.1868, allocations: 0.5763 MB / 1.012 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.1875, allocations: 0.7092 MB / 1.012 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.1906, allocations: 2.188 MB / 1.015 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1906, allocations: 0 / 1.015 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1906, allocations: 0 / 1.015 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.1906, allocations: 0 / 1.015 GB, free: 9.324 MB / 0.9792 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.002507/0.1931, allocations: 2.187 MB / 1.017 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1932, allocations: 8.031 kB / 1.017 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.1955, allocations: 0.7944 MB / 1.018 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.1967, allocations: 0.8539 MB / 1.018 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.1968, allocations: 131.5 kB / 1.019 GB, free: 5.266 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.197, allocations: 184 kB / 1.019 GB, free: 5.086 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1987, allocations: 1.992 MB / 1.021 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.1987, allocations: 4 kB / 1.021 GB, free: 2.867 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.1988, allocations: 72 kB / 1.021 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.1989, allocations: 44 kB / 1.021 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2, allocations: 0.8753 MB / 1.022 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.2046, allocations: 2.936 MB / 1.024 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.2056, allocations: 0.6783 MB / 1.025 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.206, allocations: 283.6 kB / 1.025 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.2064, allocations: 133.2 kB / 1.026 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008561/0.2073, allocations: 1.182 MB / 1.027 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 4.488e-06/0.2073, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.00218/0.2095, allocations: 1.123 MB / 1.028 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.2095, allocations: 205.2 kB / 1.028 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/0.2101, allocations: 0.638 MB / 1.029 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.952e-05/0.2102, allocations: 61.7 kB / 1.029 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.2106, allocations: 0.5542 MB / 1.029 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.2109, allocations: 0.5227 MB / 1.03 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.2112, allocations: 255.4 kB / 1.03 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2113, allocations: 365.8 kB / 1.03 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.2116, allocations: 170.7 kB / 1.03 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.2119, allocations: 426.5 kB / 1.031 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.2126, allocations: 0.5569 MB / 1.031 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2126, allocations: 0 / 1.031 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001149/0.2137, allocations: 0.8008 MB / 1.032 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2137, allocations: 4 kB / 1.032 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2137, allocations: 4 kB / 1.032 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.2143, allocations: 240 kB / 1.032 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.2153, allocations: 387.5 kB / 1.033 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.2187, allocations: 6.039 MB / 1.039 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.2195, allocations: 123.4 kB / 1.039 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.2195, allocations: 43.95 kB / 1.039 GB, free: 15.31 MB / 1.01 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0005197/0.22, allocations: 207 kB / 1.039 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.2202, allocations: 131.9 kB / 1.039 GB, free: 14.97 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2217, allocations: 1.023 MB / 1.04 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2217, allocations: 20 kB / 1.04 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2217, allocations: 0 / 1.04 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2217, allocations: 7.969 kB / 1.04 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.2243, allocations: 1.873 MB / 1.042 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2243, allocations: 3.938 kB / 1.042 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.2252, allocations: 342.4 kB / 1.042 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.2257, allocations: 220.1 kB / 1.043 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.2257, allocations: 43.91 kB / 1.043 GB, free: 11.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.2287, allocations: 6.069 MB / 1.049 GB, free: 4.844 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2287, allocations: 0 / 1.049 GB, free: 4.844 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.23, allocations: 0.9381 MB / 1.049 GB, free: 3.867 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.2304, allocations: 222.8 kB / 1.05 GB, free: 3.648 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2305, allocations: 35.94 kB / 1.05 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.231, allocations: 70.7 kB / 1.05 GB, free: 3.547 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.2312, allocations: 113.8 kB / 1.05 GB, free: 3.438 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.2313, allocations: 51.95 kB / 1.05 GB, free: 3.387 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002813/0.2315, allocations: 316.4 kB / 1.05 GB, free: 3.074 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2315, allocations: 0 / 1.05 GB, free: 3.074 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001338/0.2329, allocations: 0.6351 MB / 1.051 GB, free: 2.438 MB / 1.01 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 (156): * Single equations (assignments): 141 * 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.001879/0.2348, allocations: 0.865 MB / 1.052 GB, free: 1.836 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.2363, allocations: 1.265 MB / 1.053 GB, free: 0.5117 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.2363, allocations: 12.89 kB / 1.053 GB, free: 0.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3735/0.6098, allocations: 0.9958 MB / 1.054 GB, free: 78.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.6118, allocations: 0.5217 MB / 1.054 GB, free: 78.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.6164, allocations: 2.541 MB / 1.057 GB, free: 77.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.6167, allocations: 314.1 kB / 1.057 GB, free: 77.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001321/0.618, allocations: 314 kB / 1.058 GB, free: 77.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.6196, allocations: 0.5378 MB / 1.058 GB, free: 77.55 MB / 1.01 GB Notification: Performance of SimCode: time 2.344e-06/0.6196, allocations: 0 / 1.058 GB, free: 77.55 MB / 1.01 GB Notification: Performance of Templates: time 0.04274/0.6624, allocations: 30.04 MB / 1.087 GB, free: 74.92 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.9767052051611245]