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.001501/0.001501, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.002003/0.002003, allocations: 169 kB / 23.02 MB, free: 1.551 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.168/2.168, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.944e-06/1.944e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.76e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1414/0.1414, allocations: 150.9 MB / 1.026 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.1579, allocations: 15.26 MB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.1599, allocations: 35.69 kB / 1.04 GB, free: 15.51 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1612, allocations: 400.5 kB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.165, allocations: 1.309 MB / 1.042 GB, free: 13.8 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.1677, allocations: 1.348 MB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.1709, allocations: 2.777 MB / 1.046 GB, free: 9.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.173, allocations: 1.483 MB / 1.048 GB, free: 8.121 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.1769, allocations: 1.936 MB / 1.05 GB, free: 6.301 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.1782, allocations: 0.8023 MB / 1.05 GB, free: 5.496 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004131/0.1787, allocations: 216 kB / 1.051 GB, free: 5.285 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.1806, allocations: 0.9359 MB / 1.051 GB, free: 4.348 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005215/0.1811, allocations: 0.5957 MB / 1.052 GB, free: 3.75 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.1822, allocations: 0.7287 MB / 1.053 GB, free: 3.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.1857, allocations: 2.219 MB / 1.055 GB, free: 0.793 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1857, allocations: 3.938 kB / 1.055 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1857, allocations: 0 / 1.055 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.028e-05/0.1858, allocations: 0 / 1.055 GB, free: 0.7891 MB / 1.01 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.4949/0.6807, allocations: 2.359 MB / 1.057 GB, free: 74.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6808, allocations: 11.78 kB / 1.057 GB, free: 74.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.6834, allocations: 0.8167 MB / 1.058 GB, free: 74.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6848, allocations: 1.077 MB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.6849, allocations: 129.6 kB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.6851, allocations: 188.5 kB / 1.059 GB, free: 74.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.687, allocations: 2.178 MB / 1.061 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.6871, allocations: 0 / 1.061 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.6872, allocations: 76.09 kB / 1.062 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.6872, allocations: 44.66 kB / 1.062 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.6887, allocations: 1.208 MB / 1.063 GB, free: 73.24 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.6935, allocations: 3.96 MB / 1.067 GB, free: 72.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6948, allocations: 0.8791 MB / 1.067 GB, free: 72.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.6952, allocations: 376.2 kB / 1.068 GB, free: 72.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004519/0.6957, allocations: 140.6 kB / 1.068 GB, free: 72.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009086/0.6966, allocations: 1.264 MB / 1.069 GB, free: 71.25 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.517e-06/0.6966, allocations: 0.5469 kB / 1.069 GB, free: 71.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002894/0.6995, allocations: 1.616 MB / 1.071 GB, free: 71.04 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6995, allocations: 207.4 kB / 1.071 GB, free: 70.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.7001, allocations: 0.7121 MB / 1.072 GB, free: 70.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.7002, allocations: 62.58 kB / 1.072 GB, free: 70.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.7005, allocations: 0.7174 MB / 1.072 GB, free: 70.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.7008, allocations: 0.5169 MB / 1.073 GB, free: 69.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.701, allocations: 274.6 kB / 1.073 GB, free: 69.85 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.7011, allocations: 0.5303 MB / 1.074 GB, free: 69.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.7015, allocations: 266.6 kB / 1.074 GB, free: 69.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.702, allocations: 0.6658 MB / 1.075 GB, free: 68.96 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.7029, allocations: 0.6955 MB / 1.075 GB, free: 68.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.703, allocations: 0 / 1.075 GB, free: 68.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001723/0.7047, allocations: 1.201 MB / 1.076 GB, free: 68.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.7047, allocations: 10.78 kB / 1.077 GB, free: 68.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7047, allocations: 0 / 1.077 GB, free: 68.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006974/0.7054, allocations: 261 kB / 1.077 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.7062, allocations: 355.4 kB / 1.077 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.7092, allocations: 8.945 MB / 1.086 GB, free: 59.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.7099, allocations: 130.6 kB / 1.086 GB, free: 59.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.7099, allocations: 58.98 kB / 1.086 GB, free: 59.9 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.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.0004995/0.7104, allocations: 250.9 kB / 1.086 GB, free: 59.74 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7107, allocations: 183.9 kB / 1.086 GB, free: 59.67 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.7126, allocations: 1.412 MB / 1.088 GB, free: 59.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.7126, allocations: 17.06 kB / 1.088 GB, free: 59.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7126, allocations: 6.25 kB / 1.088 GB, free: 59.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.7126, allocations: 11.75 kB / 1.088 GB, free: 59.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.716, allocations: 2.691 MB / 1.09 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.716, allocations: 0.8438 kB / 1.09 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.7168, allocations: 314.1 kB / 1.091 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/0.7173, allocations: 241.2 kB / 1.091 GB, free: 58.89 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.7174, allocations: 42.27 kB / 1.091 GB, free: 58.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.7202, allocations: 8.972 MB / 1.1 GB, free: 50.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7202, allocations: 0 / 1.1 GB, free: 50.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.7225, allocations: 1.403 MB / 1.101 GB, free: 49.83 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.723, allocations: 323.2 kB / 1.101 GB, free: 49.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.7232, allocations: 37.41 kB / 1.102 GB, free: 49.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.7238, allocations: 81.97 kB / 1.102 GB, free: 49.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.724, allocations: 126 kB / 1.102 GB, free: 49.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7241, allocations: 74.25 kB / 1.102 GB, free: 49.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004965/0.7246, allocations: 466.3 kB / 1.102 GB, free: 49.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7246, allocations: 1.531 kB / 1.102 GB, free: 49.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001824/0.7265, allocations: 0.6443 MB / 1.103 GB, free: 49.48 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.001595/0.728, allocations: 0.7413 MB / 1.104 GB, free: 49.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.7301, allocations: 1.734 MB / 1.105 GB, free: 48.38 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.7301, allocations: 3.922 kB / 1.105 GB, free: 48.38 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.7311, allocations: 1.372 MB / 1.107 GB, free: 47.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.7325, allocations: 0.5444 MB / 1.107 GB, free: 47.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.7369, allocations: 2.594 MB / 1.11 GB, free: 46.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7372, allocations: 319.3 kB / 1.11 GB, free: 46.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001187/0.7384, allocations: 410.7 kB / 1.11 GB, free: 46.14 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.7388, allocations: 155.1 kB / 1.111 GB, free: 46.13 MB / 1.01 GB Notification: Performance of SimCode: time 1.983e-06/0.7388, allocations: 0 / 1.111 GB, free: 46.13 MB / 1.01 GB Notification: Performance of Templates: time 0.04628/0.7851, allocations: 27.79 MB / 1.138 GB, free: 43.25 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 -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: 7.570267104078084]