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.0009774/0.0009774, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001083/0.001083, allocations: 169 kB / 24.06 MB, free: 456 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.9687/0.9687, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 2.365e-06/2.365e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.746e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1662/0.1663, allocations: 148 MB / 1.024 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.1841, allocations: 15.03 MB / 1.039 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.1862, allocations: 35.69 kB / 1.039 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.1878, allocations: 400.5 kB / 1.039 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.1923, allocations: 1.324 MB / 1.04 GB, free: 0.6016 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.1958, allocations: 1.34 MB / 1.042 GB, free: 15.26 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004173/0.1999, allocations: 2.769 MB / 1.044 GB, free: 12.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.2023, allocations: 1.487 MB / 1.046 GB, free: 10.94 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.2067, allocations: 1.984 MB / 1.048 GB, free: 9.066 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.208, allocations: 0.7633 MB / 1.049 GB, free: 8.301 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.2085, allocations: 200 kB / 1.049 GB, free: 8.105 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.2109, allocations: 0.9397 MB / 1.05 GB, free: 7.164 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.2115, allocations: 0.5685 MB / 1.05 GB, free: 6.594 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.2126, allocations: 0.7093 MB / 1.051 GB, free: 5.883 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.2168, allocations: 2.187 MB / 1.053 GB, free: 3.688 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.2168, allocations: 4 kB / 1.053 GB, free: 3.684 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2168, allocations: 0 / 1.053 GB, free: 3.684 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.57e-05/0.2169, allocations: 4 kB / 1.053 GB, free: 3.68 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.003479/0.2204, allocations: 2.349 MB / 1.055 GB, free: 1.277 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.2204, allocations: 12.03 kB / 1.055 GB, free: 1.266 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.223, allocations: 0.8208 MB / 1.056 GB, free: 452 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6708/0.8938, allocations: 1.064 MB / 1.057 GB, free: 76.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.894, allocations: 136 kB / 1.057 GB, free: 76.17 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.8942, allocations: 179.3 kB / 1.057 GB, free: 76.17 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.8966, allocations: 1.987 MB / 1.059 GB, free: 75.08 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.8966, allocations: 3.188 kB / 1.059 GB, free: 75.08 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.8967, allocations: 74.94 kB / 1.059 GB, free: 75.08 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.8968, allocations: 40.28 kB / 1.06 GB, free: 75.08 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.8983, allocations: 1.005 MB / 1.06 GB, free: 75.04 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.91, allocations: 3.722 MB / 1.064 GB, free: 74.06 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.9114, allocations: 0.7642 MB / 1.065 GB, free: 74.02 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.9118, allocations: 327.2 kB / 1.065 GB, free: 74 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.9123, allocations: 140.4 kB / 1.065 GB, free: 74 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003857/0.9161, allocations: 1.207 MB / 1.066 GB, free: 73.15 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 5.19e-06/0.9161, allocations: 5.641 kB / 1.067 GB, free: 73.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006112/0.9222, allocations: 1.447 MB / 1.068 GB, free: 72.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.9223, allocations: 205.6 kB / 1.068 GB, free: 72.73 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.9228, allocations: 0.6928 MB / 1.069 GB, free: 72.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.9229, allocations: 60.05 kB / 1.069 GB, free: 72.51 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.9233, allocations: 0.7137 MB / 1.07 GB, free: 72.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.9235, allocations: 0.5253 MB / 1.07 GB, free: 71.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.9239, allocations: 280.1 kB / 1.07 GB, free: 71.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.924, allocations: 0.5409 MB / 1.071 GB, free: 71.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.9243, allocations: 197.2 kB / 1.071 GB, free: 71.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.9278, allocations: 485 kB / 1.072 GB, free: 71.19 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.9287, allocations: 0.5876 MB / 1.072 GB, free: 71.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9287, allocations: 0 / 1.072 GB, free: 71.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001778/0.9305, allocations: 1.075 MB / 1.073 GB, free: 70.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9305, allocations: 6.5 kB / 1.073 GB, free: 70.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.9305, allocations: 1.891 kB / 1.073 GB, free: 70.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.9342, allocations: 256.8 kB / 1.073 GB, free: 70.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/0.9352, allocations: 345.5 kB / 1.074 GB, free: 70.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/0.9447, allocations: 8.807 MB / 1.082 GB, free: 62.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/0.9486, allocations: 126.4 kB / 1.082 GB, free: 62.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.9487, allocations: 48.53 kB / 1.082 GB, free: 62.29 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.0004988/0.9492, allocations: 254.9 kB / 1.083 GB, free: 62.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.9494, allocations: 182.7 kB / 1.083 GB, free: 62.06 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.9514, allocations: 1.299 MB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.9514, allocations: 15.38 kB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9514, allocations: 3.219 kB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.9514, allocations: 10.03 kB / 1.084 GB, free: 61.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.9547, allocations: 2.373 MB / 1.087 GB, free: 61.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.9547, allocations: 4.016 kB / 1.087 GB, free: 61.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.9555, allocations: 292.8 kB / 1.087 GB, free: 61.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006215/0.9561, allocations: 246.6 kB / 1.087 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.9562, allocations: 41.33 kB / 1.087 GB, free: 61.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.9596, allocations: 8.845 MB / 1.096 GB, free: 52.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9596, allocations: 0 / 1.096 GB, free: 52.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.9617, allocations: 1.296 MB / 1.097 GB, free: 52.41 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.9622, allocations: 313.4 kB / 1.097 GB, free: 52.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.9624, allocations: 33.12 kB / 1.097 GB, free: 52.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.9629, allocations: 75.77 kB / 1.097 GB, free: 52.33 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.9631, allocations: 119.6 kB / 1.097 GB, free: 52.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.9633, allocations: 61.02 kB / 1.098 GB, free: 52.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004742/0.9637, allocations: 432.9 kB / 1.098 GB, free: 52.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9637, allocations: 0 / 1.098 GB, free: 52.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001953/0.9657, allocations: 0.6387 MB / 1.099 GB, free: 52.12 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.001828/0.9675, allocations: 0.7321 MB / 1.099 GB, free: 51.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.9697, allocations: 1.615 MB / 1.101 GB, free: 51.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.9697, allocations: 3.922 kB / 1.101 GB, free: 51.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.971, allocations: 1.317 MB / 1.102 GB, free: 50.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.9728, allocations: 0.5479 MB / 1.103 GB, free: 50.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/0.9779, allocations: 2.547 MB / 1.105 GB, free: 48.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.9783, allocations: 318.3 kB / 1.105 GB, free: 48.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001304/0.9796, allocations: 310.5 kB / 1.106 GB, free: 48.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.981, allocations: 0.6323 MB / 1.106 GB, free: 48.74 MB / 1.01 GB Notification: Performance of SimCode: time 2.986e-06/0.981, allocations: 2.109 kB / 1.106 GB, free: 48.74 MB / 1.01 GB Notification: Performance of Templates: time 0.0555/1.037, allocations: 30.44 MB / 1.136 GB, free: 45.64 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.914280111901462]