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.001029/0.001029, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001065/0.001065, allocations: 173 kB / 23.49 MB, free: 1.055 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.9181/0.9181, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.027/2.027, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.883e-06/1.883e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.16e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1708/0.1708, allocations: 164.1 MB / 1.038 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.1887, allocations: 17.53 MB / 1.056 GB, free: 388 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.19, allocations: 39.69 kB / 1.056 GB, free: 348 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.5898/0.7798, allocations: 0.5452 MB / 1.056 GB, free: 47.86 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.7845, allocations: 1.695 MB / 1.058 GB, free: 47.86 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.7873, allocations: 1.346 MB / 1.059 GB, free: 47.86 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003785/0.7911, allocations: 2.792 MB / 1.062 GB, free: 47.86 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.7937, allocations: 1.491 MB / 1.063 GB, free: 47.74 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.7983, allocations: 2.041 MB / 1.065 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.7999, allocations: 0.7983 MB / 1.066 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005947/0.8005, allocations: 215.9 kB / 1.066 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.8035, allocations: 1.303 MB / 1.068 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.804, allocations: 0.5947 MB / 1.068 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.8054, allocations: 0.7312 MB / 1.069 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.8095, allocations: 2.384 MB / 1.071 GB, free: 46.93 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.8095, allocations: 2.688 kB / 1.071 GB, free: 46.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8095, allocations: 0 / 1.071 GB, free: 46.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.135e-05/0.8095, allocations: 0 / 1.071 GB, free: 46.93 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.003219/0.8128, allocations: 2.387 MB / 1.073 GB, free: 45.76 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8128, allocations: 9.031 kB / 1.073 GB, free: 45.76 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.8155, allocations: 0.8188 MB / 1.074 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.8171, allocations: 1.076 MB / 1.075 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.8172, allocations: 130.2 kB / 1.075 GB, free: 45.21 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.8174, allocations: 189.6 kB / 1.076 GB, free: 45.21 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.8195, allocations: 2.177 MB / 1.078 GB, free: 44.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.8195, allocations: 2.875 kB / 1.078 GB, free: 44.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.8196, allocations: 78.55 kB / 1.078 GB, free: 44.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.8197, allocations: 40.22 kB / 1.078 GB, free: 44.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.8212, allocations: 1.201 MB / 1.079 GB, free: 44.01 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.827, allocations: 3.963 MB / 1.083 GB, free: 42.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.8284, allocations: 0.8823 MB / 1.084 GB, free: 42.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.8289, allocations: 375.3 kB / 1.084 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.8295, allocations: 183.4 kB / 1.084 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.8305, allocations: 1.262 MB / 1.086 GB, free: 41.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.589e-06/0.8305, allocations: 2.625 kB / 1.086 GB, free: 41.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003291/0.8338, allocations: 1.608 MB / 1.087 GB, free: 41.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.8339, allocations: 209 kB / 1.087 GB, free: 41.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.8347, allocations: 0.7117 MB / 1.088 GB, free: 41.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.8349, allocations: 65.92 kB / 1.088 GB, free: 41.28 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.8354, allocations: 0.7121 MB / 1.089 GB, free: 40.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.8357, allocations: 0.5176 MB / 1.089 GB, free: 40.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.8361, allocations: 279.2 kB / 1.09 GB, free: 40.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.8362, allocations: 0.529 MB / 1.09 GB, free: 40.05 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.8367, allocations: 259.1 kB / 1.09 GB, free: 40.05 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.8373, allocations: 0.6675 MB / 1.091 GB, free: 39.65 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8384, allocations: 0.6976 MB / 1.092 GB, free: 39.57 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8384, allocations: 0 / 1.092 GB, free: 39.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002095/0.8405, allocations: 1.205 MB / 1.093 GB, free: 39.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.8406, allocations: 5.5 kB / 1.093 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8406, allocations: 2 kB / 1.093 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000783/0.8414, allocations: 258.8 kB / 1.093 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.8424, allocations: 353.6 kB / 1.093 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.8457, allocations: 8.953 MB / 1.102 GB, free: 30.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.8467, allocations: 132.2 kB / 1.102 GB, free: 30.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.8468, allocations: 61.22 kB / 1.102 GB, free: 30.59 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.0005607/0.8474, allocations: 255.6 kB / 1.103 GB, free: 30.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.8477, allocations: 177.6 kB / 1.103 GB, free: 30.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.85, allocations: 1.422 MB / 1.104 GB, free: 30.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.85, allocations: 17.28 kB / 1.104 GB, free: 30.15 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.85, allocations: 1.562 kB / 1.104 GB, free: 30.15 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.85, allocations: 9.75 kB / 1.104 GB, free: 30.15 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.854, allocations: 2.69 MB / 1.107 GB, free: 29.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.854, allocations: 0.7031 kB / 1.107 GB, free: 29.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.8549, allocations: 315 kB / 1.107 GB, free: 29.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006618/0.8555, allocations: 239.3 kB / 1.107 GB, free: 29.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.8556, allocations: 47.97 kB / 1.107 GB, free: 29.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/0.8597, allocations: 8.961 MB / 1.116 GB, free: 36.87 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8597, allocations: 6.203 kB / 1.116 GB, free: 36.87 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.8626, allocations: 1.411 MB / 1.118 GB, free: 36.48 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007653/0.8634, allocations: 324.1 kB / 1.118 GB, free: 36.39 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.8636, allocations: 36.41 kB / 1.118 GB, free: 36.39 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.8642, allocations: 76.53 kB / 1.118 GB, free: 36.39 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.8645, allocations: 121.4 kB / 1.118 GB, free: 36.39 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.8646, allocations: 75.45 kB / 1.118 GB, free: 36.39 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005716/0.8652, allocations: 469.7 kB / 1.119 GB, free: 36.25 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.8652, allocations: 1 kB / 1.119 GB, free: 36.25 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001746/0.8669, allocations: 0.6476 MB / 1.119 GB, free: 36.13 MB / 1.026 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.001828/0.8688, allocations: 0.7512 MB / 1.12 GB, free: 35.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.8713, allocations: 1.737 MB / 1.122 GB, free: 35 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.8713, allocations: 6.938 kB / 1.122 GB, free: 35 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.8729, allocations: 1.369 MB / 1.123 GB, free: 34.12 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8751, allocations: 0.5454 MB / 1.124 GB, free: 34.07 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/0.8805, allocations: 2.582 MB / 1.126 GB, free: 32.93 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.8809, allocations: 316.7 kB / 1.126 GB, free: 32.84 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001722/0.8826, allocations: 406.6 kB / 1.127 GB, free: 32.77 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.883, allocations: 155.9 kB / 1.127 GB, free: 32.76 MB / 1.026 GB Notification: Performance of SimCode: time 3.196e-06/0.883, allocations: 0 / 1.127 GB, free: 32.76 MB / 1.026 GB Notification: Performance of Templates: time 0.04245/0.9255, allocations: 28.07 MB / 1.154 GB, free: 29.71 MB / 1.026 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.177388013806194]