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.001099/0.001099, allocations: 83.59 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.001152/0.001152, allocations: 165 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 1.031/1.031, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.873/1.873, 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.944e-06/1.944e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.677e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1288/0.1288, allocations: 150.9 MB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.143, allocations: 15.3 MB / 0.9739 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1441, allocations: 39.62 kB / 0.9739 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.145, allocations: 396.5 kB / 0.9743 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.1475, allocations: 1.324 MB / 0.9756 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1498, allocations: 1.352 MB / 0.9769 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.1519, allocations: 2.788 MB / 0.9796 GB, free: 5.047 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.1539, allocations: 1.583 MB / 0.9812 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.1564, allocations: 1.949 MB / 0.9831 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.1571, allocations: 0.7906 MB / 0.9838 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.1573, allocations: 216 kB / 0.9841 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1587, allocations: 0.9436 MB / 0.985 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.159, allocations: 0.5919 MB / 0.9855 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.1596, allocations: 0.7287 MB / 0.9863 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.1619, allocations: 2.234 MB / 0.9884 GB, free: 12.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1619, allocations: 7.938 kB / 0.9885 GB, free: 12.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1619, allocations: 0 / 0.9885 GB, free: 12.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.162, allocations: 0 / 0.9885 GB, free: 12.07 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.002298/0.1643, allocations: 2.373 MB / 0.9908 GB, free: 9.641 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1643, allocations: 12.03 kB / 0.9908 GB, free: 9.629 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.1666, allocations: 0.8207 MB / 0.9916 GB, free: 8.805 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.1678, allocations: 1.084 MB / 0.9926 GB, free: 7.695 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.1678, allocations: 139.4 kB / 0.9928 GB, free: 7.559 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.168, allocations: 188 kB / 0.993 GB, free: 7.375 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1702, allocations: 2.173 MB / 0.9951 GB, free: 4.949 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.1702, allocations: 0 / 0.9951 GB, free: 4.949 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1703, allocations: 76 kB / 0.9951 GB, free: 4.875 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.1704, allocations: 44 kB / 0.9952 GB, free: 4.832 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1718, allocations: 1.206 MB / 0.9964 GB, free: 3.621 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.1761, allocations: 3.973 MB / 1 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.1773, allocations: 0.8763 MB / 1.001 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.1781, allocations: 375.9 kB / 1.001 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.1786, allocations: 133.1 kB / 1.002 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009731/0.1795, allocations: 1.273 MB / 1.003 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.866e-06/0.1795, allocations: 0 / 1.003 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002864/0.1824, allocations: 1.612 MB / 1.004 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.1825, allocations: 213.1 kB / 1.005 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.1831, allocations: 0.7142 MB / 1.005 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.1832, allocations: 69.69 kB / 1.005 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.1835, allocations: 0.7152 MB / 1.006 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.1838, allocations: 0.5151 MB / 1.007 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.1841, allocations: 285.1 kB / 1.007 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1843, allocations: 0.5277 MB / 1.007 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.1847, allocations: 263.8 kB / 1.008 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.1856, allocations: 0.6624 MB / 1.008 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.1865, allocations: 0.6956 MB / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1865, allocations: 0 / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001744/0.1882, allocations: 1.206 MB / 1.01 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1882, allocations: 10.5 kB / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1883, allocations: 0 / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/0.1889, allocations: 254.3 kB / 1.01 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.1898, allocations: 355.5 kB / 1.011 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/0.1943, allocations: 8.95 MB / 1.019 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.1948, allocations: 135.1 kB / 1.02 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.1949, allocations: 63.95 kB / 1.02 GB, free: 10.64 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.0003434/0.1952, allocations: 251 kB / 1.02 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.1955, allocations: 187.2 kB / 1.02 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.1974, allocations: 1.415 MB / 1.021 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.1974, allocations: 19.94 kB / 1.021 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1974, allocations: 0 / 1.021 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1974, allocations: 11.97 kB / 1.021 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.201, allocations: 2.718 MB / 1.024 GB, free: 5.934 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.201, allocations: 0 / 1.024 GB, free: 5.934 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.2017, allocations: 311.6 kB / 1.024 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/0.2023, allocations: 250.2 kB / 1.025 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.2024, allocations: 43.95 kB / 1.025 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.2062, allocations: 8.961 MB / 1.033 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2062, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2082, allocations: 1.41 MB / 1.035 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.2087, allocations: 342.5 kB / 1.035 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2088, allocations: 32 kB / 1.035 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.2093, allocations: 82.36 kB / 1.035 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.2095, allocations: 121.8 kB / 1.035 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.2096, allocations: 67.95 kB / 1.035 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004559/0.21, allocations: 474.9 kB / 1.036 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.21, allocations: 0 / 1.036 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00165/0.2117, allocations: 0.6583 MB / 1.037 GB, free: 8.531 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.001382/0.2131, allocations: 0.7329 MB / 1.037 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.2147, allocations: 1.732 MB / 1.039 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2147, allocations: 5.016 kB / 1.039 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.2157, allocations: 1.371 MB / 1.04 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2169, allocations: 0.5632 MB / 1.041 GB, free: 4.148 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.2206, allocations: 2.61 MB / 1.043 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2208, allocations: 314.3 kB / 1.044 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008268/0.2217, allocations: 410.1 kB / 1.044 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.222, allocations: 156.4 kB / 1.044 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of SimCode: time 9.42e-07/0.222, allocations: 4 kB / 1.044 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of Templates: time 0.4289/0.6508, allocations: 28.19 MB / 1.072 GB, free: 138.9 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.901250435970724]