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.001396/0.001396, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001824/0.001824, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.553/2.553, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.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 2.014e-06/2.014e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.936e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.004633/0.004653, allocations: 4.434 MB / 0.8429 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1475, allocations: 146 MB / 0.9855 GB, free: 7.254 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.1484, allocations: 19.88 kB / 0.9855 GB, free: 7.234 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.1489, allocations: 178.3 kB / 0.9857 GB, free: 7.059 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1502, allocations: 0.5242 MB / 0.9862 GB, free: 6.531 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1516, allocations: 0.7828 MB / 0.9869 GB, free: 5.746 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1527, allocations: 1.346 MB / 0.9883 GB, free: 4.395 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.1532, allocations: 347.5 kB / 0.9886 GB, free: 4.027 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007607/0.1539, allocations: 0.6782 MB / 0.9892 GB, free: 3.348 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.1543, allocations: 339 kB / 0.9896 GB, free: 3.016 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.1544, allocations: 96 kB / 0.9897 GB, free: 2.922 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.155, allocations: 471.3 kB / 0.9901 GB, free: 2.461 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1552, allocations: 267.1 kB / 0.9904 GB, free: 2.199 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1555, allocations: 327.1 kB / 0.9907 GB, free: 1.879 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.1567, allocations: 1.109 MB / 0.9918 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1567, allocations: 0 / 0.9918 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1567, allocations: 0 / 0.9918 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1567, allocations: 3.938 kB / 0.9918 GB, free: 0.7617 MB / 0.948 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.001329/0.158, allocations: 1.257 MB / 0.993 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1581, allocations: 8.625 kB / 0.993 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.1587, allocations: 228.4 kB / 0.9932 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.1593, allocations: 0.5629 MB / 0.9938 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.1594, allocations: 62.12 kB / 0.9938 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.1595, allocations: 79.98 kB / 0.9939 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.1601, allocations: 0.7809 MB / 0.9947 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1601, allocations: 3.938 kB / 0.9947 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.1601, allocations: 32 kB / 0.9947 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1601, allocations: 16 kB / 0.9947 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.1607, allocations: 0.5393 MB / 0.9952 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1623, allocations: 1.443 MB / 0.9967 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.1628, allocations: 407.1 kB / 0.997 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1629, allocations: 126.9 kB / 0.9972 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.163, allocations: 32.62 kB / 0.9972 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.1633, allocations: 413.2 kB / 0.9976 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=83): time 2.184e-06/0.1633, allocations: 0 / 0.9976 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=83): time 0.000493/0.1638, allocations: 417.8 kB / 0.998 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.1639, allocations: 226.3 kB / 0.9982 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.1644, allocations: 0.4977 MB / 0.9987 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1644, allocations: 53.83 kB / 0.9987 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1646, allocations: 278.5 kB / 0.999 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1647, allocations: 281.6 kB / 0.9993 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.1648, allocations: 158.5 kB / 0.9994 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1649, allocations: 390.6 kB / 0.9998 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1651, allocations: 84.78 kB / 0.9999 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1652, allocations: 294.8 kB / 1 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1655, allocations: 299 kB / 1 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1655, allocations: 0 / 1 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.000399/0.1659, allocations: 390.1 kB / 1.001 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.166, allocations: 4 kB / 1.001 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.166, allocations: 0 / 1.001 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.166, allocations: 4 kB / 1.001 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1664, allocations: 179.7 kB / 1.001 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1664, allocations: 7.984 kB / 1.001 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1666, allocations: 79.53 kB / 1.001 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.1666, allocations: 24.05 kB / 1.001 GB, free: 6.797 MB / 0.9636 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.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.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.0001626/0.1668, allocations: 176.5 kB / 1.001 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.1669, allocations: 75.88 kB / 1.001 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.1675, allocations: 0.5275 MB / 1.002 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1675, allocations: 11.94 kB / 1.002 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.1675, allocations: 0 / 1.002 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1675, allocations: 3.984 kB / 1.002 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1685, allocations: 0.991 MB / 1.003 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1685, allocations: 4.031 kB / 1.003 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1688, allocations: 143.8 kB / 1.003 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1688, allocations: 4 kB / 1.003 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.1688, allocations: 19.98 kB / 1.003 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1688, allocations: 7.984 kB / 1.003 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1688, allocations: 3.938 kB / 1.003 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1692, allocations: 497 kB / 1.003 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.1694, allocations: 143.2 kB / 1.004 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.1695, allocations: 23.98 kB / 1.004 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1697, allocations: 43.97 kB / 1.004 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.1698, allocations: 64.88 kB / 1.004 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.1698, allocations: 27.95 kB / 1.004 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001912/0.17, allocations: 239.4 kB / 1.004 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.17, allocations: 0 / 1.004 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004354/0.1704, allocations: 303.2 kB / 1.004 GB, free: 3.449 MB / 0.9636 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.001591/0.172, allocations: 0.7618 MB / 1.005 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.1724, allocations: 359.5 kB / 1.005 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.1724, allocations: 8 kB / 1.005 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.1728, allocations: 216.5 kB / 1.006 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.1734, allocations: 300.3 kB / 1.006 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.1751, allocations: 1.355 MB / 1.007 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1752, allocations: 178.3 kB / 1.007 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000359/0.1756, allocations: 182.6 kB / 1.008 GB, free: 340 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.1761, allocations: 299 kB / 1.008 GB, free: 40 kB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.1761, allocations: 0 / 1.008 GB, free: 40 kB / 0.9636 GB Notification: Performance of Templates: time 0.01801/0.1941, allocations: 15.22 MB / 1.023 GB, free: 1.152 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.086284387391061]