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.001587/0.001587, allocations: 92.22 kB / 19.65 MB, free: 272 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.002032/0.002032, allocations: 173 kB / 23.02 MB, free: 1.543 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.988/0.988, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.169/2.169, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.336e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1324/0.1324, allocations: 150.9 MB / 1.026 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.1462, allocations: 15.26 MB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.1471, allocations: 39.69 kB / 1.04 GB, free: 15.4 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.148, allocations: 400.5 kB / 1.041 GB, free: 15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1503, allocations: 1.328 MB / 1.042 GB, free: 13.67 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.1524, allocations: 1.34 MB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.155, allocations: 2.765 MB / 1.046 GB, free: 9.551 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1566, allocations: 1.495 MB / 1.048 GB, free: 8 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.1595, allocations: 1.981 MB / 1.05 GB, free: 6.137 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008154/0.1603, allocations: 0.7672 MB / 1.05 GB, free: 5.367 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.1605, allocations: 204 kB / 1.051 GB, free: 5.168 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.1621, allocations: 0.9319 MB / 1.051 GB, free: 4.234 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.1625, allocations: 0.5646 MB / 1.052 GB, free: 3.668 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.163, allocations: 0.7131 MB / 1.053 GB, free: 2.953 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.1652, allocations: 2.188 MB / 1.055 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1652, allocations: 0 / 1.055 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1652, allocations: 0 / 1.055 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.1652, allocations: 0 / 1.055 GB, free: 0.7578 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.4029/0.5682, allocations: 2.34 MB / 1.057 GB, free: 74.76 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5682, allocations: 10.88 kB / 1.057 GB, free: 74.76 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.5714, allocations: 0.8201 MB / 1.058 GB, free: 74.63 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5727, allocations: 1.072 MB / 1.059 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.5728, allocations: 137 kB / 1.059 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.5729, allocations: 190 kB / 1.059 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.5751, allocations: 2.101 MB / 1.061 GB, free: 73.29 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.5751, allocations: 6.125 kB / 1.061 GB, free: 73.29 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.5752, allocations: 72.25 kB / 1.061 GB, free: 73.29 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.5753, allocations: 41.28 kB / 1.061 GB, free: 73.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.577, allocations: 1.206 MB / 1.063 GB, free: 73.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.5817, allocations: 3.904 MB / 1.066 GB, free: 72.19 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.5832, allocations: 0.8768 MB / 1.067 GB, free: 72.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.5837, allocations: 384.3 kB / 1.068 GB, free: 72.13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004947/0.5842, allocations: 137 kB / 1.068 GB, free: 72.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009793/0.5852, allocations: 1.258 MB / 1.069 GB, free: 71.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.386e-06/0.5852, allocations: 0 / 1.069 GB, free: 71.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.0033/0.5885, allocations: 1.608 MB / 1.071 GB, free: 71.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.5885, allocations: 210.4 kB / 1.071 GB, free: 70.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.5892, allocations: 0.7024 MB / 1.071 GB, free: 70.66 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/0.5892, allocations: 63.92 kB / 1.072 GB, free: 70.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.5896, allocations: 0.7119 MB / 1.072 GB, free: 70.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.5898, allocations: 0.5162 MB / 1.073 GB, free: 69.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.5901, allocations: 272.5 kB / 1.073 GB, free: 69.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.5902, allocations: 0.5342 MB / 1.073 GB, free: 69.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.5907, allocations: 260.8 kB / 1.074 GB, free: 69.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.5913, allocations: 0.5314 MB / 1.074 GB, free: 69.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5923, allocations: 0.6915 MB / 1.075 GB, free: 69.08 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5924, allocations: 0.8438 kB / 1.075 GB, free: 69.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001959/0.5943, allocations: 1.194 MB / 1.076 GB, free: 68.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5943, allocations: 9.75 kB / 1.076 GB, free: 68.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5943, allocations: 2.344 kB / 1.076 GB, free: 68.87 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/0.5951, allocations: 256.8 kB / 1.076 GB, free: 68.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5962, allocations: 353.1 kB / 1.077 GB, free: 68.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.5993, allocations: 8.946 MB / 1.085 GB, free: 60.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.5998, allocations: 131.1 kB / 1.086 GB, free: 60.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.5999, allocations: 58.84 kB / 1.086 GB, free: 60.11 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.0003284/0.6002, allocations: 253 kB / 1.086 GB, free: 59.94 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.6005, allocations: 184.9 kB / 1.086 GB, free: 59.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.6028, allocations: 1.408 MB / 1.087 GB, free: 59.69 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6028, allocations: 19.88 kB / 1.087 GB, free: 59.69 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6028, allocations: 0 / 1.087 GB, free: 59.69 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6028, allocations: 16.69 kB / 1.087 GB, free: 59.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.6065, allocations: 2.67 MB / 1.09 GB, free: 59.15 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6065, allocations: 0 / 1.09 GB, free: 59.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.6075, allocations: 312.3 kB / 1.09 GB, free: 59.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000681/0.6082, allocations: 246 kB / 1.091 GB, free: 59.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.6082, allocations: 40.23 kB / 1.091 GB, free: 59.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.6111, allocations: 8.968 MB / 1.099 GB, free: 50.42 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6111, allocations: 4.125 kB / 1.099 GB, free: 50.42 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.6135, allocations: 1.404 MB / 1.101 GB, free: 50.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.614, allocations: 318.3 kB / 1.101 GB, free: 49.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.6141, allocations: 34.28 kB / 1.101 GB, free: 49.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.6147, allocations: 72.48 kB / 1.101 GB, free: 49.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.6149, allocations: 116.2 kB / 1.101 GB, free: 49.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.6151, allocations: 70.08 kB / 1.101 GB, free: 49.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004527/0.6155, allocations: 462.5 kB / 1.102 GB, free: 49.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6155, allocations: 0 / 1.102 GB, free: 49.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001453/0.617, allocations: 0.6423 MB / 1.102 GB, free: 49.69 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.001581/0.6186, allocations: 0.7487 MB / 1.103 GB, free: 49.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.6205, allocations: 1.726 MB / 1.105 GB, free: 48.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6205, allocations: 3.109 kB / 1.105 GB, free: 48.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6216, allocations: 1.371 MB / 1.106 GB, free: 47.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6231, allocations: 0.5417 MB / 1.107 GB, free: 47.65 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.6271, allocations: 2.589 MB / 1.109 GB, free: 46.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.6274, allocations: 317.3 kB / 1.11 GB, free: 46.42 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001156/0.6285, allocations: 409.1 kB / 1.11 GB, free: 46.34 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.6289, allocations: 158.7 kB / 1.11 GB, free: 46.34 MB / 1.01 GB Notification: Performance of SimCode: time 9.42e-07/0.6289, allocations: 3.188 kB / 1.11 GB, free: 46.34 MB / 1.01 GB Notification: Performance of Templates: time 0.0376/0.6665, allocations: 29.26 MB / 1.139 GB, free: 43.18 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.233945963904262]