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.001031/0.001031, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001028/0.001028, allocations: 169 kB / 23.02 MB, free: 1.555 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.9576/0.9576, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.118/2.118, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.553e-06/1.553e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.616e-05, allocations: 6.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.007506/0.007542, allocations: 4.463 MB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1361/0.1436, allocations: 146.5 MB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/0.1444, allocations: 27.81 kB / 1.026 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1449, allocations: 182.3 kB / 1.026 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1463, allocations: 0.5359 MB / 1.026 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.1478, allocations: 0.7986 MB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1488, allocations: 1.354 MB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.1493, allocations: 335.5 kB / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.1499, allocations: 0.647 MB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.1503, allocations: 366.9 kB / 1.03 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1504, allocations: 108 kB / 1.03 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006731/0.1511, allocations: 447.4 kB / 1.03 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.1513, allocations: 287 kB / 1.03 GB, free: 9.766 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.1515, allocations: 343.1 kB / 1.031 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1527, allocations: 1.148 MB / 1.032 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1527, allocations: 4 kB / 1.032 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1527, allocations: 3.938 kB / 1.032 GB, free: 8.27 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1527, allocations: 0 / 1.032 GB, free: 8.27 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.001501/0.1542, allocations: 1.409 MB / 1.033 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1542, allocations: 12.03 kB / 1.033 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.1549, allocations: 255.8 kB / 1.034 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.1556, allocations: 0.6859 MB / 1.034 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.1557, allocations: 62.12 kB / 1.034 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.1558, allocations: 79.98 kB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.1566, allocations: 0.9257 MB / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1567, allocations: 0 / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.1567, allocations: 35.98 kB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1567, allocations: 16 kB / 1.035 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.1575, allocations: 0.7371 MB / 1.036 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1599, allocations: 2.111 MB / 1.038 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.1606, allocations: 496.4 kB / 1.039 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.1608, allocations: 165.2 kB / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.1609, allocations: 32.62 kB / 1.039 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/0.1614, allocations: 462.3 kB / 1.039 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/0.1614, allocations: 4 kB / 1.039 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of matching and sorting (n=83): time 0.00101/0.1624, allocations: 0.673 MB / 1.04 GB, free: 15.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.1625, allocations: 222.3 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.163, allocations: 0.5699 MB / 1.041 GB, free: 14.97 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.1631, allocations: 49.7 kB / 1.041 GB, free: 14.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.1633, allocations: 412 kB / 1.041 GB, free: 14.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1634, allocations: 277.7 kB / 1.041 GB, free: 14.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1636, allocations: 172.2 kB / 1.042 GB, free: 14.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1638, allocations: 0.5586 MB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.164, allocations: 142 kB / 1.042 GB, free: 13.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1644, allocations: 366 kB / 1.043 GB, free: 12.94 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.1648, allocations: 350.1 kB / 1.043 GB, free: 12.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1648, allocations: 3.938 kB / 1.043 GB, free: 12.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007513/0.1656, allocations: 0.5752 MB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1656, allocations: 8 kB / 1.043 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1656, allocations: 0 / 1.043 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1656, allocations: 8.062 kB / 1.043 GB, free: 11.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.1661, allocations: 179.7 kB / 1.044 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1662, allocations: 7.984 kB / 1.044 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.1664, allocations: 74.77 kB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.1665, allocations: 39.97 kB / 1.044 GB, free: 11.69 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.0002002/0.1667, allocations: 216.3 kB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.1668, allocations: 119.4 kB / 1.044 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.1678, allocations: 0.7443 MB / 1.045 GB, free: 10.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1678, allocations: 11.94 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1678, allocations: 0 / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1678, allocations: 7.969 kB / 1.045 GB, free: 10.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1695, allocations: 1.488 MB / 1.046 GB, free: 9.039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1695, allocations: 0 / 1.046 GB, free: 9.039 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.1698, allocations: 147.7 kB / 1.046 GB, free: 8.895 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1698, allocations: 4 kB / 1.046 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.1698, allocations: 19.98 kB / 1.046 GB, free: 8.871 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1698, allocations: 8.031 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1698, allocations: 0 / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.1706, allocations: 0.7908 MB / 1.047 GB, free: 8.051 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.1709, allocations: 195.1 kB / 1.047 GB, free: 7.859 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.171, allocations: 20 kB / 1.047 GB, free: 7.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1712, allocations: 47.95 kB / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1713, allocations: 64.88 kB / 1.048 GB, free: 7.727 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.1714, allocations: 39.97 kB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000315/0.1717, allocations: 398.8 kB / 1.048 GB, free: 7.301 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1717, allocations: 0 / 1.048 GB, free: 7.301 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000647/0.1723, allocations: 299.3 kB / 1.048 GB, free: 7.008 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.001352/0.1737, allocations: 0.629 MB / 1.049 GB, free: 6.547 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007132/0.1744, allocations: 462.2 kB / 1.049 GB, free: 6.094 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1744, allocations: 0 / 1.049 GB, free: 6.094 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.1747, allocations: 267.3 kB / 1.05 GB, free: 5.832 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.1755, allocations: 318 kB / 1.05 GB, free: 5.547 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.1778, allocations: 1.396 MB / 1.051 GB, free: 4.102 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.1779, allocations: 190.1 kB / 1.051 GB, free: 3.895 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004763/0.1783, allocations: 242.5 kB / 1.052 GB, free: 3.652 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.1785, allocations: 104.5 kB / 1.052 GB, free: 3.551 MB / 1.01 GB Notification: Performance of SimCode: time 1.323e-06/0.1785, allocations: 0 / 1.052 GB, free: 3.551 MB / 1.01 GB Notification: Performance of Templates: time 0.412/0.5906, allocations: 14.24 MB / 1.066 GB, free: 73.75 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.369141648057848]