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.0009654/0.0009654, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001075/0.001075, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8974/0.8974, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.794/1.794, allocations: 377.9 MB / 0.624 GB, free: 8.441 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 3.066e-06/3.066e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.387e-05, allocations: 4.844 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1275/0.1275, allocations: 148.1 MB / 0.9566 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.1412, allocations: 15.05 MB / 0.9713 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1423, allocations: 39.69 kB / 0.9714 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.1434, allocations: 408.4 kB / 0.9717 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.146, allocations: 1.328 MB / 0.973 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1483, allocations: 1.34 MB / 0.9744 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.1507, allocations: 2.785 MB / 0.9771 GB, free: 7.879 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1521, allocations: 1.591 MB / 0.9786 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.1547, allocations: 1.982 MB / 0.9806 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.1554, allocations: 0.7711 MB / 0.9813 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.1556, allocations: 207.9 kB / 0.9815 GB, free: 3.41 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1569, allocations: 0.9281 MB / 0.9824 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.1572, allocations: 0.5762 MB / 0.983 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.1577, allocations: 0.7092 MB / 0.9837 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.16, allocations: 2.188 MB / 0.9858 GB, free: 15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.16, allocations: 0 / 0.9858 GB, free: 15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.16, allocations: 0 / 0.9858 GB, free: 15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.16, allocations: 4 kB / 0.9858 GB, free: 14.99 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.002067/0.162, allocations: 2.373 MB / 0.9881 GB, free: 12.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1621, allocations: 12.03 kB / 0.9881 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.1641, allocations: 0.8207 MB / 0.9889 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1651, allocations: 1.076 MB / 0.99 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.1652, allocations: 131.5 kB / 0.9901 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1654, allocations: 188 kB / 0.9903 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.1674, allocations: 1.987 MB / 0.9922 GB, free: 8.086 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1674, allocations: 0 / 0.9922 GB, free: 8.086 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.542e-05/0.1675, allocations: 72 kB / 0.9923 GB, free: 8.016 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.1675, allocations: 48 kB / 0.9924 GB, free: 7.969 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/0.1685, allocations: 1.007 MB / 0.9933 GB, free: 6.953 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.1724, allocations: 3.721 MB / 0.997 GB, free: 3.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1735, allocations: 0.7814 MB / 0.9977 GB, free: 2.379 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1738, allocations: 326.1 kB / 0.998 GB, free: 2.059 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.1742, allocations: 168.8 kB / 0.9982 GB, free: 1.895 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007674/0.175, allocations: 1.208 MB / 0.9994 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of pre-optimization done (n=154): time 2.474e-06/0.175, allocations: 0 / 0.9994 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of matching and sorting (n=154): time 0.002253/0.1772, allocations: 1.436 MB / 1.001 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.1773, allocations: 213.2 kB / 1.001 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.1778, allocations: 0.6981 MB / 1.002 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-05/0.1779, allocations: 65.7 kB / 1.002 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.1783, allocations: 0.7189 MB / 1.002 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.1785, allocations: 0.5189 MB / 1.003 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.1788, allocations: 281 kB / 1.003 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1789, allocations: 0.5393 MB / 1.004 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1792, allocations: 195.8 kB / 1.004 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.1798, allocations: 488.6 kB / 1.004 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.1804, allocations: 0.5861 MB / 1.005 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1804, allocations: 0 / 1.005 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001302/0.1818, allocations: 1.081 MB / 1.006 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1818, allocations: 4 kB / 1.006 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1818, allocations: 4 kB / 1.006 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.1824, allocations: 250.2 kB / 1.006 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.1831, allocations: 335.5 kB / 1.007 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.1867, allocations: 8.834 MB / 1.015 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.1872, allocations: 123.2 kB / 1.015 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.1872, allocations: 51.95 kB / 1.015 GB, free: 15.32 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.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.000293/0.1875, allocations: 247 kB / 1.016 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.1877, allocations: 175.2 kB / 1.016 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.1893, allocations: 1.321 MB / 1.017 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1893, allocations: 20 kB / 1.017 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1893, allocations: 0 / 1.017 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.1893, allocations: 7.969 kB / 1.017 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.1922, allocations: 2.391 MB / 1.019 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1922, allocations: 0 / 1.019 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.1929, allocations: 299.6 kB / 1.02 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.1933, allocations: 238.2 kB / 1.02 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.1934, allocations: 43.97 kB / 1.02 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.1968, allocations: 8.831 MB / 1.029 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1968, allocations: 0 / 1.029 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.1981, allocations: 1.297 MB / 1.03 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.1985, allocations: 322.5 kB / 1.03 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.1985, allocations: 40.14 kB / 1.03 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.199, allocations: 66.2 kB / 1.03 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.1991, allocations: 121.8 kB / 1.03 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.1992, allocations: 59.94 kB / 1.03 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002654/0.1994, allocations: 442.7 kB / 1.031 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1994, allocations: 0 / 1.031 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001035/0.2005, allocations: 0.6389 MB / 1.032 GB, free: 14.05 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.001265/0.2017, allocations: 0.7257 MB / 1.032 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.2032, allocations: 1.623 MB / 1.034 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2032, allocations: 5.078 kB / 1.034 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.204, allocations: 1.316 MB / 1.035 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2052, allocations: 0.5718 MB / 1.036 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.2081, allocations: 2.575 MB / 1.038 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2083, allocations: 322.2 kB / 1.038 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007097/0.209, allocations: 322.2 kB / 1.039 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.2101, allocations: 0.6422 MB / 1.039 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of SimCode: time 1.152e-06/0.2101, allocations: 0 / 1.039 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of Templates: time 0.3434/0.5534, allocations: 30.43 MB / 1.069 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.294655296951532]