Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001096/0.001096, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001544/0.001544, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9096/0.9096, allocations: 177.1 MB / 204.2 MB, free: 5.395 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.433e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.124/0.124, allocations: 150.9 MB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.1378, allocations: 15.3 MB / 0.9739 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009828/0.1388, allocations: 35.69 kB / 0.9739 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.1397, allocations: 404.4 kB / 0.9743 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.1422, allocations: 1.332 MB / 0.9756 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1444, allocations: 1.344 MB / 0.9769 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.147, allocations: 2.788 MB / 0.9796 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.1489, allocations: 1.575 MB / 0.9812 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.1519, allocations: 1.984 MB / 0.9831 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.153, allocations: 0.7711 MB / 0.9839 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.1533, allocations: 200 kB / 0.9841 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1546, allocations: 0.9397 MB / 0.985 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.1549, allocations: 0.5724 MB / 0.9855 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.1555, allocations: 0.7053 MB / 0.9862 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1578, allocations: 2.191 MB / 0.9884 GB, free: 12.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1578, allocations: 0 / 0.9884 GB, free: 12.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1578, allocations: 0 / 0.9884 GB, free: 12.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.251e-05/0.1578, allocations: 4 kB / 0.9884 GB, free: 12.16 MB / 0.948 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.003455/0.1613, allocations: 2.362 MB / 0.9907 GB, free: 9.742 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.1614, allocations: 8.031 kB / 0.9907 GB, free: 9.734 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.164, allocations: 0.8285 MB / 0.9915 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.1654, allocations: 1.096 MB / 0.9926 GB, free: 7.773 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.1654, allocations: 131.4 kB / 0.9927 GB, free: 7.645 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1656, allocations: 184 kB / 0.9929 GB, free: 7.465 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.1678, allocations: 2.1 MB / 0.9949 GB, free: 5.133 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.1678, allocations: 4 kB / 0.9949 GB, free: 5.129 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1679, allocations: 76 kB / 0.995 GB, free: 5.055 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.1679, allocations: 44 kB / 0.995 GB, free: 5.012 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.1694, allocations: 1.198 MB / 0.9962 GB, free: 3.809 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.1746, allocations: 3.912 MB / 1 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1759, allocations: 0.8746 MB / 1.001 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.1764, allocations: 390.2 kB / 1.001 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.1769, allocations: 133.2 kB / 1.001 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.178, allocations: 1.259 MB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 4.218e-06/0.178, allocations: 4 kB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.003365/0.1813, allocations: 1.608 MB / 1.004 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.1814, allocations: 213.2 kB / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.1821, allocations: 0.7103 MB / 1.005 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.1822, allocations: 61.7 kB / 1.005 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.1826, allocations: 0.7151 MB / 1.006 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.1829, allocations: 0.5112 MB / 1.006 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.1832, allocations: 285 kB / 1.007 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1834, allocations: 0.5277 MB / 1.007 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.1838, allocations: 263.8 kB / 1.007 GB, free: 8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.1843, allocations: 0.5319 MB / 1.008 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.1852, allocations: 0.6877 MB / 1.009 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1852, allocations: 0 / 1.009 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001785/0.187, allocations: 1.202 MB / 1.01 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.187, allocations: 4 kB / 1.01 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1871, allocations: 0 / 1.01 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.1878, allocations: 266.2 kB / 1.01 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.1886, allocations: 351.5 kB / 1.01 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/0.1935, allocations: 8.944 MB / 1.019 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.1943, allocations: 135.3 kB / 1.019 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.1944, allocations: 63.95 kB / 1.019 GB, free: 11.1 MB / 0.9792 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.0005177/0.1949, allocations: 246.9 kB / 1.019 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.1952, allocations: 187.2 kB / 1.02 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.1971, allocations: 1.423 MB / 1.021 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.1971, allocations: 19.94 kB / 1.021 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1971, allocations: 0 / 1.021 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1971, allocations: 7.969 kB / 1.021 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.2006, allocations: 2.688 MB / 1.024 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2006, allocations: 4 kB / 1.024 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/0.2013, allocations: 307.6 kB / 1.024 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005767/0.2019, allocations: 250.2 kB / 1.024 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.202, allocations: 43.97 kB / 1.024 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.2063, allocations: 8.957 MB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2063, allocations: 0 / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.2083, allocations: 1.41 MB / 1.034 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.2088, allocations: 326.5 kB / 1.035 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.2089, allocations: 35.98 kB / 1.035 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.2094, allocations: 75.95 kB / 1.035 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.2096, allocations: 117.8 kB / 1.035 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.2097, allocations: 67.95 kB / 1.035 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004405/0.2102, allocations: 470.9 kB / 1.035 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2102, allocations: 0 / 1.035 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001301/0.2115, allocations: 0.6389 MB / 1.036 GB, free: 9.066 MB / 0.9948 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.001559/0.213, allocations: 0.7352 MB / 1.037 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.2149, allocations: 1.733 MB / 1.038 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.215, allocations: 4.891 kB / 1.038 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.2163, allocations: 1.363 MB / 1.04 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.2177, allocations: 0.5676 MB / 1.04 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.2216, allocations: 2.614 MB / 1.043 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2218, allocations: 314.3 kB / 1.043 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001034/0.2229, allocations: 418 kB / 1.044 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.2232, allocations: 156.4 kB / 1.044 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of SimCode: time 2.685e-06/0.2232, allocations: 0 / 1.044 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of Templates: time 0.3694/0.5926, allocations: 29.67 MB / 1.073 GB, free: 139.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.465673347003758]