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.001225/0.001225, allocations: 77.95 kB / 20.66 MB, free: 3.828 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.001299/0.001299, allocations: 169 kB / 24.06 MB, free: 444 kB / 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.945/0.945, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.066/2.066, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.864e-06/1.864e-06, allocations: 0 / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.326e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3WindDirection): time 0.004974/0.004997, allocations: 4.377 MB / 0.8836 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.1292, allocations: 143.8 MB / 1.024 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007832/0.13, allocations: 19.81 kB / 1.024 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.1305, allocations: 186.3 kB / 1.024 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.132, allocations: 0.5436 MB / 1.025 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1337, allocations: 0.7986 MB / 1.026 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1349, allocations: 1.35 MB / 1.027 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.1354, allocations: 335.5 kB / 1.027 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.1363, allocations: 0.6743 MB / 1.028 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.1367, allocations: 339 kB / 1.028 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1368, allocations: 96 kB / 1.028 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.1376, allocations: 451.3 kB / 1.029 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1378, allocations: 263.1 kB / 1.029 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.138, allocations: 327.1 kB / 1.029 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1393, allocations: 1.113 MB / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1393, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1393, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.1394, allocations: 4 kB / 1.03 GB, free: 10.84 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.001599/0.141, allocations: 1.413 MB / 1.032 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.141, allocations: 12.02 kB / 1.032 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00066/0.1417, allocations: 259.8 kB / 1.032 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.1426, allocations: 0.6761 MB / 1.033 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.1426, allocations: 54.12 kB / 1.033 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.1427, allocations: 76 kB / 1.033 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.1434, allocations: 0.8019 MB / 1.034 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1434, allocations: 0 / 1.034 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.1435, allocations: 32 kB / 1.034 GB, free: 7.359 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1435, allocations: 24 kB / 1.034 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.1441, allocations: 0.6329 MB / 1.034 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.1462, allocations: 1.963 MB / 1.036 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.1467, allocations: 448.9 kB / 1.037 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1469, allocations: 153.2 kB / 1.037 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.147, allocations: 36.58 kB / 1.037 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.1473, allocations: 438.1 kB / 1.037 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 1.904e-06/0.1473, allocations: 0 / 1.037 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of matching and sorting (n=83): time 0.000752/0.1481, allocations: 0.5871 MB / 1.038 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.1482, allocations: 226.3 kB / 1.038 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.1486, allocations: 0.5539 MB / 1.039 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.1486, allocations: 45.7 kB / 1.039 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.149, allocations: 411.9 kB / 1.039 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1491, allocations: 281.7 kB / 1.039 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1493, allocations: 180.2 kB / 1.039 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1495, allocations: 0.5663 MB / 1.04 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1496, allocations: 97.91 kB / 1.04 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1499, allocations: 334 kB / 1.04 GB, free: 164 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1502, allocations: 306 kB / 1.041 GB, free: 15.85 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1502, allocations: 0 / 1.041 GB, free: 15.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005901/0.1508, allocations: 0.5165 MB / 1.041 GB, free: 15.33 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1508, allocations: 12 kB / 1.041 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1508, allocations: 0 / 1.041 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1508, allocations: 4 kB / 1.041 GB, free: 15.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1512, allocations: 179.7 kB / 1.041 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1512, allocations: 4 kB / 1.041 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.1515, allocations: 71.59 kB / 1.041 GB, free: 15.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.1515, allocations: 35.97 kB / 1.041 GB, free: 15.03 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.0002283/0.1518, allocations: 224.4 kB / 1.042 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1519, allocations: 115.4 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008192/0.1527, allocations: 0.6779 MB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1527, allocations: 12 kB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1527, allocations: 0 / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1527, allocations: 3.984 kB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.1541, allocations: 1.316 MB / 1.044 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1541, allocations: 3.938 kB / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.1544, allocations: 143.8 kB / 1.044 GB, free: 12.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1544, allocations: 8.031 kB / 1.044 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1545, allocations: 23.98 kB / 1.044 GB, free: 12.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1545, allocations: 4 kB / 1.044 GB, free: 12.44 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1545, allocations: 0 / 1.044 GB, free: 12.44 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.1551, allocations: 0.7399 MB / 1.045 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.1554, allocations: 179.2 kB / 1.045 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.1554, allocations: 31.98 kB / 1.045 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1557, allocations: 39.97 kB / 1.045 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.1558, allocations: 68.88 kB / 1.045 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.1558, allocations: 27.98 kB / 1.045 GB, free: 11.34 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000222/0.156, allocations: 362.8 kB / 1.045 GB, free: 10.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.156, allocations: 0 / 1.045 GB, free: 10.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005781/0.1566, allocations: 299.2 kB / 1.046 GB, free: 10.7 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.001316/0.1579, allocations: 0.6235 MB / 1.046 GB, free: 10.24 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.1584, allocations: 398.2 kB / 1.047 GB, free: 9.848 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1584, allocations: 3.984 kB / 1.047 GB, free: 9.844 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.1586, allocations: 243.2 kB / 1.047 GB, free: 9.602 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.1593, allocations: 325.5 kB / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1612, allocations: 1.365 MB / 1.048 GB, free: 7.895 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.1613, allocations: 186.2 kB / 1.049 GB, free: 7.695 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.1618, allocations: 182.6 kB / 1.049 GB, free: 7.512 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.1623, allocations: 354 kB / 1.049 GB, free: 7.164 MB / 1.01 GB Notification: Performance of SimCode: time 9.82e-07/0.1623, allocations: 0 / 1.049 GB, free: 7.164 MB / 1.01 GB Notification: Performance of Templates: time 0.363/0.5253, allocations: 15.44 MB / 1.064 GB, free: 76.57 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.309111746959388]