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.001017/0.001017, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0009883/0.0009883, allocations: 165 kB / 23.27 MB, free: 1.219 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.9339/0.9339, allocations: 177.1 MB / 203.7 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.313/2.313, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.923e-06/1.923e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.922e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.00432/0.00434, allocations: 4.37 MB / 0.894 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.1423, allocations: 143.8 MB / 1.034 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.1431, allocations: 23.81 kB / 1.034 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1435, allocations: 186.3 kB / 1.035 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1449, allocations: 0.5475 MB / 1.035 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1465, allocations: 0.7985 MB / 1.036 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.1474, allocations: 1.342 MB / 1.037 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.1478, allocations: 339.5 kB / 1.038 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007276/0.1485, allocations: 0.6743 MB / 1.038 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.1488, allocations: 339 kB / 1.039 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.1489, allocations: 100 kB / 1.039 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1494, allocations: 443.4 kB / 1.039 GB, free: 264 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1496, allocations: 267.1 kB / 1.039 GB, free: 15.99 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1497, allocations: 323.1 kB / 1.04 GB, free: 15.68 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008924/0.1506, allocations: 1.117 MB / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1506, allocations: 0 / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1506, allocations: 0 / 1.041 GB, free: 14.56 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1507, allocations: 0 / 1.041 GB, free: 14.56 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001234/0.1519, allocations: 1.405 MB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1519, allocations: 8.625 kB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.1525, allocations: 267.8 kB / 1.042 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.1531, allocations: 0.6721 MB / 1.043 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.1531, allocations: 66.11 kB / 1.043 GB, free: 12.08 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.1532, allocations: 76 kB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.1538, allocations: 0.8019 MB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1538, allocations: 0 / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.1538, allocations: 32 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1539, allocations: 19.98 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.1545, allocations: 0.6367 MB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1562, allocations: 1.959 MB / 1.047 GB, free: 8.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.1567, allocations: 447.5 kB / 1.047 GB, free: 7.949 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1569, allocations: 153.3 kB / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.157, allocations: 64.34 kB / 1.047 GB, free: 7.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.1573, allocations: 434.1 kB / 1.048 GB, free: 7.262 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 1.914e-06/0.1573, allocations: 0 / 1.048 GB, free: 7.262 MB / 1.01 GB Notification: Performance of matching and sorting (n=83): time 0.0006659/0.158, allocations: 0.5949 MB / 1.048 GB, free: 6.664 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.158, allocations: 226.3 kB / 1.048 GB, free: 6.395 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1584, allocations: 0.55 MB / 1.049 GB, free: 5.828 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.1584, allocations: 49.83 kB / 1.049 GB, free: 5.773 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1586, allocations: 408 kB / 1.049 GB, free: 5.367 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1588, allocations: 285.6 kB / 1.05 GB, free: 5.086 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1589, allocations: 180.2 kB / 1.05 GB, free: 4.902 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1591, allocations: 0.5663 MB / 1.05 GB, free: 4.324 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1592, allocations: 93.91 kB / 1.05 GB, free: 4.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1594, allocations: 338 kB / 1.051 GB, free: 3.855 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.1597, allocations: 302 kB / 1.051 GB, free: 3.551 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1597, allocations: 0 / 1.051 GB, free: 3.551 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006513/0.1604, allocations: 0.5204 MB / 1.052 GB, free: 3.02 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1604, allocations: 8 kB / 1.052 GB, free: 3.012 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1604, allocations: 3.984 kB / 1.052 GB, free: 3.008 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1604, allocations: 4 kB / 1.052 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.1607, allocations: 175.7 kB / 1.052 GB, free: 2.832 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1607, allocations: 4 kB / 1.052 GB, free: 2.828 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.161, allocations: 71.59 kB / 1.052 GB, free: 2.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.161, allocations: 32.09 kB / 1.052 GB, free: 2.727 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.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.0001662/0.1612, allocations: 224.4 kB / 1.052 GB, free: 2.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1613, allocations: 119.3 kB / 1.052 GB, free: 2.383 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.162, allocations: 0.6779 MB / 1.053 GB, free: 1.691 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.162, allocations: 8 kB / 1.053 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.162, allocations: 3.938 kB / 1.053 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.162, allocations: 3.984 kB / 1.053 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1632, allocations: 1.32 MB / 1.054 GB, free: 316 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1632, allocations: 4.031 kB / 1.054 GB, free: 312 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.1635, allocations: 147.7 kB / 1.054 GB, free: 164 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1635, allocations: 4 kB / 1.054 GB, free: 160 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1635, allocations: 23.98 kB / 1.054 GB, free: 136 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1635, allocations: 4 kB / 1.054 GB, free: 132 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1635, allocations: 4 kB / 1.054 GB, free: 128 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4655/0.629, allocations: 0.7296 MB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6292, allocations: 178.7 kB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.6293, allocations: 22.72 kB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.6296, allocations: 45.95 kB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.6296, allocations: 70.94 kB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.6297, allocations: 30.53 kB / 1.055 GB, free: 65.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002279/0.6299, allocations: 355.8 kB / 1.056 GB, free: 65.59 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6299, allocations: 2.531 kB / 1.056 GB, free: 65.59 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005979/0.6305, allocations: 297.3 kB / 1.056 GB, free: 65.59 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.001215/0.6317, allocations: 0.6288 MB / 1.057 GB, free: 65.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.6322, allocations: 402.8 kB / 1.057 GB, free: 65.44 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6322, allocations: 0 / 1.057 GB, free: 65.44 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.6324, allocations: 247.8 kB / 1.057 GB, free: 65.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.6331, allocations: 304.2 kB / 1.057 GB, free: 65.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.6349, allocations: 1.363 MB / 1.059 GB, free: 64.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.635, allocations: 187.5 kB / 1.059 GB, free: 64.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004044/0.6354, allocations: 187.8 kB / 1.059 GB, free: 64.67 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6359, allocations: 356.7 kB / 1.06 GB, free: 64.61 MB / 1.01 GB Notification: Performance of SimCode: time 7.82e-07/0.6359, allocations: 3.75 kB / 1.06 GB, free: 64.61 MB / 1.01 GB Notification: Performance of Templates: time 0.01728/0.6532, allocations: 15.24 MB / 1.074 GB, free: 63.32 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.217727961950004]