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.0008997/0.0008997, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009332/0.0009332, allocations: 170 kB / 23.27 MB, free: 1.219 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.9488/0.9488, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.31/2.31, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.302e-06/1.302e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.981e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1342/0.1343, allocations: 148 MB / 1.034 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.149, allocations: 15.03 MB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.1509, allocations: 39.69 kB / 1.049 GB, free: 6.035 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.1521, allocations: 400.5 kB / 1.049 GB, free: 5.641 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.1564, allocations: 1.316 MB / 1.051 GB, free: 4.316 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.1595, allocations: 1.34 MB / 1.052 GB, free: 2.973 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.1628, allocations: 2.765 MB / 1.055 GB, free: 204 kB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4875/0.6503, allocations: 1.496 MB / 1.056 GB, free: 49.27 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.6542, allocations: 1.971 MB / 1.058 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.6555, allocations: 0.7705 MB / 1.059 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.6559, allocations: 203.8 kB / 1.059 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.6577, allocations: 0.9264 MB / 1.06 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.6582, allocations: 0.5759 MB / 1.061 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009214/0.6591, allocations: 0.7087 MB / 1.061 GB, free: 49.26 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.6625, allocations: 2.191 MB / 1.063 GB, free: 49.13 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6625, allocations: 0 / 1.063 GB, free: 49.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6625, allocations: 0 / 1.063 GB, free: 49.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.342e-05/0.6626, allocations: 0 / 1.063 GB, free: 49.13 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.002887/0.6655, allocations: 2.355 MB / 1.066 GB, free: 48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6655, allocations: 11.47 kB / 1.066 GB, free: 48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.6677, allocations: 0.814 MB / 1.066 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6688, allocations: 1.066 MB / 1.067 GB, free: 47.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.6689, allocations: 129.5 kB / 1.068 GB, free: 47.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.669, allocations: 183.8 kB / 1.068 GB, free: 47.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.6704, allocations: 1.99 MB / 1.07 GB, free: 46.35 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.6704, allocations: 0 / 1.07 GB, free: 46.35 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/0.6705, allocations: 72.59 kB / 1.07 GB, free: 46.35 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.6705, allocations: 41.88 kB / 1.07 GB, free: 46.35 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.6714, allocations: 1.01 MB / 1.071 GB, free: 46.31 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.6754, allocations: 3.723 MB / 1.074 GB, free: 45.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.6762, allocations: 0.776 MB / 1.075 GB, free: 45.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.6765, allocations: 325.2 kB / 1.076 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.677, allocations: 169.8 kB / 1.076 GB, free: 45.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006944/0.6777, allocations: 1.213 MB / 1.077 GB, free: 44.24 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.476e-06/0.6777, allocations: 0.9375 kB / 1.077 GB, free: 44.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002425/0.6801, allocations: 1.445 MB / 1.078 GB, free: 44.04 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.6801, allocations: 204.9 kB / 1.078 GB, free: 43.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.6806, allocations: 0.6855 MB / 1.079 GB, free: 43.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.6807, allocations: 63.08 kB / 1.079 GB, free: 43.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.681, allocations: 0.7236 MB / 1.08 GB, free: 43.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6813, allocations: 0.5164 MB / 1.08 GB, free: 42.87 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.6815, allocations: 284.9 kB / 1.081 GB, free: 42.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.6816, allocations: 0.5352 MB / 1.081 GB, free: 42.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.6818, allocations: 196.5 kB / 1.081 GB, free: 42.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.6821, allocations: 485.9 kB / 1.082 GB, free: 42.12 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.6827, allocations: 0.5901 MB / 1.082 GB, free: 42.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6827, allocations: 1.203 kB / 1.082 GB, free: 42.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00134/0.6841, allocations: 1.07 MB / 1.083 GB, free: 41.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6841, allocations: 6.406 kB / 1.084 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6841, allocations: 5.344 kB / 1.084 GB, free: 41.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.6847, allocations: 252.4 kB / 1.084 GB, free: 41.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.6854, allocations: 341.2 kB / 1.084 GB, free: 41.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.6881, allocations: 8.82 MB / 1.093 GB, free: 33.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.6888, allocations: 132.8 kB / 1.093 GB, free: 33.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.6888, allocations: 45.94 kB / 1.093 GB, free: 33.18 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.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.0005578/0.6894, allocations: 247.7 kB / 1.093 GB, free: 33.02 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.6897, allocations: 188.9 kB / 1.093 GB, free: 32.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.6914, allocations: 1.295 MB / 1.095 GB, free: 32.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6914, allocations: 16.91 kB / 1.095 GB, free: 32.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6914, allocations: 2.938 kB / 1.095 GB, free: 32.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.6914, allocations: 9.984 kB / 1.095 GB, free: 32.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6944, allocations: 2.375 MB / 1.097 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6944, allocations: 0 / 1.097 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.6951, allocations: 299.5 kB / 1.097 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000597/0.6957, allocations: 238.1 kB / 1.097 GB, free: 32.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.6958, allocations: 41.62 kB / 1.097 GB, free: 32.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.6993, allocations: 8.851 MB / 1.106 GB, free: 39.61 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6993, allocations: 0 / 1.106 GB, free: 39.61 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.7013, allocations: 1.299 MB / 1.107 GB, free: 39.22 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.7018, allocations: 311.7 kB / 1.108 GB, free: 39.14 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7019, allocations: 32.59 kB / 1.108 GB, free: 39.13 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.7023, allocations: 70.81 kB / 1.108 GB, free: 39.13 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.7025, allocations: 123.1 kB / 1.108 GB, free: 39.13 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.7026, allocations: 62.77 kB / 1.108 GB, free: 39.13 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003606/0.703, allocations: 426.2 kB / 1.108 GB, free: 38.99 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.703, allocations: 0 / 1.108 GB, free: 38.99 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001438/0.7044, allocations: 0.6338 MB / 1.109 GB, free: 38.88 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.001445/0.7058, allocations: 0.7389 MB / 1.11 GB, free: 38.67 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.7073, allocations: 1.618 MB / 1.111 GB, free: 37.77 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7073, allocations: 3.484 kB / 1.111 GB, free: 37.77 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.7082, allocations: 1.313 MB / 1.113 GB, free: 36.89 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.7094, allocations: 0.5333 MB / 1.113 GB, free: 36.84 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.7129, allocations: 2.56 MB / 1.116 GB, free: 35.69 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.7132, allocations: 314.6 kB / 1.116 GB, free: 35.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.7141, allocations: 319.5 kB / 1.116 GB, free: 35.52 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.7153, allocations: 0.6383 MB / 1.117 GB, free: 35.45 MB / 1.026 GB Notification: Performance of SimCode: time 1.082e-06/0.7153, allocations: 0 / 1.117 GB, free: 35.45 MB / 1.026 GB Notification: Performance of Templates: time 0.04355/0.7589, allocations: 30.01 MB / 1.146 GB, free: 32.37 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: 6.974186728242785]