Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.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.001134/0.001134, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.0009559/0.0009559, allocations: 173 kB / 23.49 MB, free: 1.051 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.9514/0.9514, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.045/2.045, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.weaBus.winDir",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDatInpCon.weaBus.winDir",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.127e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.007065/0.007096, allocations: 4.43 MB / 0.8825 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.1625, allocations: 146.3 MB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.1632, allocations: 23.81 kB / 1.025 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1638, allocations: 182.3 kB / 1.026 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.1653, allocations: 0.5399 MB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.1667, allocations: 0.7946 MB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.1681, allocations: 1.354 MB / 1.028 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.1687, allocations: 335.5 kB / 1.028 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008929/0.1696, allocations: 0.6432 MB / 1.029 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.17, allocations: 366.9 kB / 1.029 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1702, allocations: 108 kB / 1.03 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008275/0.171, allocations: 451.3 kB / 1.03 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.1712, allocations: 287.1 kB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.1715, allocations: 343.1 kB / 1.031 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.173, allocations: 1.152 MB / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.173, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.173, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.173, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001777/0.1748, allocations: 1.413 MB / 1.033 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1748, allocations: 12.03 kB / 1.033 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.1756, allocations: 263.8 kB / 1.033 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.1764, allocations: 0.682 MB / 1.034 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.1765, allocations: 62.12 kB / 1.034 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.1765, allocations: 76 kB / 1.034 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.1775, allocations: 0.918 MB / 1.035 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1775, allocations: 0 / 1.035 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1775, allocations: 35.98 kB / 1.035 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1775, allocations: 16 kB / 1.035 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.1783, allocations: 0.7332 MB / 1.036 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.1806, allocations: 2.107 MB / 1.038 GB, free: 2.293 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.1814, allocations: 0.4925 MB / 1.038 GB, free: 1.781 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1817, allocations: 176.3 kB / 1.039 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.1817, allocations: 32.62 kB / 1.039 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.1822, allocations: 462.2 kB / 1.039 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 2.916e-06/0.1822, allocations: 3.938 kB / 1.039 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=83): time 0.001016/0.1832, allocations: 0.6691 MB / 1.04 GB, free: 412 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.1833, allocations: 222.3 kB / 1.04 GB, free: 140 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.1838, allocations: 0.5699 MB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.1839, allocations: 49.69 kB / 1.04 GB, free: 15.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1841, allocations: 416 kB / 1.041 GB, free: 15.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1842, allocations: 285.8 kB / 1.041 GB, free: 14.8 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.1844, allocations: 172.2 kB / 1.041 GB, free: 14.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1846, allocations: 0.5586 MB / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1848, allocations: 129.9 kB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.1851, allocations: 366 kB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.1856, allocations: 350.1 kB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1856, allocations: 3.938 kB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007553/0.1864, allocations: 0.5752 MB / 1.043 GB, free: 12.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1864, allocations: 12 kB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1864, allocations: 0 / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1864, allocations: 4 kB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.1869, allocations: 179.8 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1869, allocations: 8 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1872, allocations: 73.78 kB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.1872, allocations: 39.97 kB / 1.044 GB, free: 12.28 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.k,$PRE.weaDatInpCon.decAng.k,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.k,$PRE.weaDatInpCon.eqnTim.k,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.k,$PRE.weaDatInpCon.conTim.k,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.k,$PRE.weaDatInpCon.conTimMin.k,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.k,$PRE.weaDatInpCon.locTim.k,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.1874, allocations: 216.3 kB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1875, allocations: 119.4 kB / 1.044 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.1885, allocations: 0.7326 MB / 1.045 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1885, allocations: 11.98 kB / 1.045 GB, free: 11.19 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1885, allocations: 3.938 kB / 1.045 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1885, allocations: 3.984 kB / 1.045 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.1902, allocations: 1.488 MB / 1.046 GB, free: 9.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1902, allocations: 4 kB / 1.046 GB, free: 9.633 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.1905, allocations: 151.8 kB / 1.046 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1905, allocations: 4 kB / 1.046 GB, free: 9.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.1905, allocations: 23.98 kB / 1.046 GB, free: 9.457 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1905, allocations: 4 kB / 1.046 GB, free: 9.453 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1905, allocations: 7.922 kB / 1.046 GB, free: 9.445 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.1913, allocations: 0.7869 MB / 1.047 GB, free: 8.637 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.1916, allocations: 195.1 kB / 1.047 GB, free: 8.445 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.1916, allocations: 20 kB / 1.047 GB, free: 8.426 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1919, allocations: 52.47 kB / 1.047 GB, free: 8.375 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.192, allocations: 68.88 kB / 1.047 GB, free: 8.305 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.1921, allocations: 35.97 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003131/0.1924, allocations: 394.9 kB / 1.048 GB, free: 7.887 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1924, allocations: 3.938 kB / 1.048 GB, free: 7.883 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006294/0.193, allocations: 295.3 kB / 1.048 GB, free: 7.594 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.k,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.k,weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.k,weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.k,weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.k) * Number of discrete states: 10 (weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.locTim.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.decAng.k,weaDatInpCon.eqnTim.k,weaDatInpCon.conTim.k,weaDatInpCon.conTimMin.k,weaDatInpCon.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.1943, allocations: 0.625 MB / 1.049 GB, free: 7.133 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006779/0.195, allocations: 462.2 kB / 1.049 GB, free: 6.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.195, allocations: 0 / 1.049 GB, free: 6.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.1953, allocations: 271.4 kB / 1.049 GB, free: 6.414 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.196, allocations: 313.2 kB / 1.05 GB, free: 6.137 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1982, allocations: 1.396 MB / 1.051 GB, free: 4.691 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.1984, allocations: 190.1 kB / 1.051 GB, free: 4.484 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.1988, allocations: 238.5 kB / 1.051 GB, free: 4.246 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.199, allocations: 108.5 kB / 1.051 GB, free: 4.141 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.199, allocations: 0 / 1.051 GB, free: 4.141 MB / 1.01 GB Notification: Performance of Templates: time 0.3734/0.5724, allocations: 14.25 MB / 1.065 GB, free: 219.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3WindDirection.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.215949899051338]