Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001523/0.001523, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.001713/0.001713, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9843/0.9843, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.525/2.525, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.959e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1487/0.1487, allocations: 150.4 MB / 0.9855 GB, free: 7.199 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.1637, allocations: 15.53 MB / 1.001 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.1644, allocations: 47.62 kB / 1.001 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.1653, allocations: 424.3 kB / 1.001 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.1679, allocations: 1.445 MB / 1.002 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.17, allocations: 1.43 MB / 1.004 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.1719, allocations: 2.968 MB / 1.007 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.1741, allocations: 1.845 MB / 1.009 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.1763, allocations: 1.89 MB / 1.01 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007753/0.1771, allocations: 0.892 MB / 1.011 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.1773, allocations: 216 kB / 1.012 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1789, allocations: 1.162 MB / 1.013 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.1793, allocations: 0.8179 MB / 1.013 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.1799, allocations: 0.8261 MB / 1.014 GB, free: 9.734 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.1825, allocations: 2.616 MB / 1.017 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1825, allocations: 4 kB / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1825, allocations: 0 / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.1825, allocations: 0 / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.002543/0.185, allocations: 2.666 MB / 1.019 GB, free: 4.395 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1851, allocations: 8.625 kB / 1.019 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.1872, allocations: 0.8062 MB / 1.02 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1884, allocations: 1.12 MB / 1.021 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1885, allocations: 135.4 kB / 1.021 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.1886, allocations: 184 kB / 1.022 GB, free: 2.094 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.1904, allocations: 1.988 MB / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.1904, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.1905, allocations: 75.98 kB / 1.024 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.1905, allocations: 40 kB / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.1915, allocations: 0.8748 MB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.195, allocations: 2.995 MB / 1.027 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.1959, allocations: 0.7601 MB / 1.028 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1962, allocations: 283.6 kB / 1.028 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1963, allocations: 77.27 kB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/0.1973, allocations: 1.188 MB / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 3.276e-06/0.1973, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.002012/0.1993, allocations: 1.161 MB / 1.031 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.1994, allocations: 217.2 kB / 1.031 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.2002, allocations: 1.132 MB / 1.032 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.2003, allocations: 61.7 kB / 1.032 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.2006, allocations: 0.6237 MB / 1.033 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.2008, allocations: 0.5072 MB / 1.033 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.2011, allocations: 263.3 kB / 1.034 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2012, allocations: 369.7 kB / 1.034 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.2014, allocations: 170.7 kB / 1.034 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.2018, allocations: 0.6709 MB / 1.035 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.2024, allocations: 0.5413 MB / 1.035 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2024, allocations: 0 / 1.035 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001136/0.2036, allocations: 0.8203 MB / 1.036 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2036, allocations: 4 kB / 1.036 GB, free: 2.535 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2036, allocations: 3.938 kB / 1.036 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.2047, allocations: 260 kB / 1.036 GB, free: 2.262 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.2056, allocations: 383.5 kB / 1.037 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.2086, allocations: 6.054 MB / 1.043 GB, free: 11.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.2091, allocations: 129.3 kB / 1.043 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.2091, allocations: 47.95 kB / 1.043 GB, free: 11.23 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 (166): * Single equations (assignments): 161 * 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.0003034/0.2094, allocations: 207 kB / 1.043 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2096, allocations: 151.8 kB / 1.043 GB, free: 10.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.2113, allocations: 1.082 MB / 1.044 GB, free: 9.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2113, allocations: 19.94 kB / 1.044 GB, free: 9.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2113, allocations: 4 kB / 1.044 GB, free: 9.727 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2113, allocations: 7.969 kB / 1.044 GB, free: 9.719 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.2138, allocations: 2.04 MB / 1.046 GB, free: 7.625 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2138, allocations: 0 / 1.046 GB, free: 7.625 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.2146, allocations: 372 kB / 1.047 GB, free: 7.258 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005548/0.2152, allocations: 240.1 kB / 1.047 GB, free: 7.008 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.2152, allocations: 35.97 kB / 1.047 GB, free: 6.973 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.2183, allocations: 6.078 MB / 1.053 GB, free: 472 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2183, allocations: 0 / 1.053 GB, free: 472 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4204/0.6387, allocations: 1.014 MB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.6392, allocations: 287.3 kB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.6394, allocations: 33.52 kB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.6399, allocations: 73.09 kB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.6402, allocations: 119.6 kB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6403, allocations: 52.97 kB / 1.054 GB, free: 77.49 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000687/0.641, allocations: 0.5927 MB / 1.055 GB, free: 77.44 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/0.641, allocations: 1.688 kB / 1.055 GB, free: 77.44 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001524/0.6425, allocations: 0.715 MB / 1.056 GB, free: 77.44 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.00191/0.6444, allocations: 0.8851 MB / 1.056 GB, free: 77.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.6459, allocations: 1.264 MB / 1.058 GB, free: 76.72 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/0.6459, allocations: 15.52 kB / 1.058 GB, free: 76.72 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.6467, allocations: 0.9983 MB / 1.059 GB, free: 76.14 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.648, allocations: 0.5563 MB / 1.059 GB, free: 76.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.6523, allocations: 3.33 MB / 1.062 GB, free: 74.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6527, allocations: 432.9 kB / 1.063 GB, free: 74.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009714/0.6536, allocations: 360.3 kB / 1.063 GB, free: 74.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.6549, allocations: 0.5779 MB / 1.064 GB, free: 74.46 MB / 1.01 GB Notification: Performance of SimCode: time 7.52e-07/0.6549, allocations: 0.9375 kB / 1.064 GB, free: 74.46 MB / 1.01 GB Notification: Performance of Templates: time 0.04246/0.6973, allocations: 34.62 MB / 1.098 GB, free: 71.38 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.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.4694580771028996]