Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001382/0.001382, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00153/0.00153, allocations: 169 kB / 24.06 MB, free: 456 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.9181/0.9181, allocations: 177.1 MB / 204.5 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.175/2.175, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 1.094 kB / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.144e-05, allocations: 13.66 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005221/0.005242, allocations: 5.309 MB / 0.8845 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1214/0.1266, allocations: 144.1 MB / 1.025 GB, free: 88 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.1275, allocations: 35.69 kB / 1.025 GB, free: 52 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.1282, allocations: 381.3 kB / 1.026 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.1296, allocations: 0.6015 MB / 1.026 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.1311, allocations: 0.9154 MB / 1.027 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1324, allocations: 1.643 MB / 1.029 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.1331, allocations: 487.1 kB / 1.029 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009453/0.134, allocations: 0.8769 MB / 1.03 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.1346, allocations: 418.7 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.1347, allocations: 132 kB / 1.031 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.1354, allocations: 0.4993 MB / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1356, allocations: 338.8 kB / 1.031 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1359, allocations: 430.8 kB / 1.032 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1372, allocations: 1.389 MB / 1.033 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1373, allocations: 7.938 kB / 1.033 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1373, allocations: 0 / 1.033 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.1373, allocations: 0 / 1.033 GB, free: 7.918 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.001726/0.139, allocations: 1.779 MB / 1.035 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.139, allocations: 12.03 kB / 1.035 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1401, allocations: 375.4 kB / 1.035 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1412, allocations: 0.8629 MB / 1.036 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.1412, allocations: 86.16 kB / 1.036 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1414, allocations: 104 kB / 1.036 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1425, allocations: 0.9636 MB / 1.037 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1426, allocations: 0 / 1.037 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1426, allocations: 40 kB / 1.037 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1426, allocations: 24 kB / 1.037 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.1436, allocations: 0.7079 MB / 1.038 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.1465, allocations: 2.423 MB / 1.04 GB, free: 292 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.1472, allocations: 445.3 kB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1474, allocations: 166.1 kB / 1.041 GB, free: 15.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/0.1475, allocations: 34.33 kB / 1.041 GB, free: 15.65 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.148, allocations: 462.4 kB / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.524e-06/0.148, allocations: 0 / 1.041 GB, free: 15.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001563/0.1495, allocations: 0.7766 MB / 1.042 GB, free: 14.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.1496, allocations: 204.9 kB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.1502, allocations: 0.6865 MB / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.1503, allocations: 45.7 kB / 1.043 GB, free: 13.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.1506, allocations: 0.5816 MB / 1.044 GB, free: 12.78 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.1508, allocations: 289.5 kB / 1.044 GB, free: 12.49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.1512, allocations: 188.1 kB / 1.044 GB, free: 12.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1513, allocations: 0.5042 MB / 1.045 GB, free: 11.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1515, allocations: 113.8 kB / 1.045 GB, free: 11.68 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1518, allocations: 353.7 kB / 1.045 GB, free: 11.28 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.1523, allocations: 339 kB / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.1523, allocations: 0 / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001053/0.1533, allocations: 0.6293 MB / 1.046 GB, free: 10.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1533, allocations: 4 kB / 1.046 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1533, allocations: 4 kB / 1.046 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.1539, allocations: 127.5 kB / 1.046 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.1544, allocations: 179.7 kB / 1.046 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1557, allocations: 1.875 MB / 1.048 GB, free: 7.984 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.1561, allocations: 81.52 kB / 1.048 GB, free: 7.906 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.1561, allocations: 31.97 kB / 1.048 GB, free: 7.875 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.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 (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.1564, allocations: 219 kB / 1.048 GB, free: 7.652 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1566, allocations: 131.3 kB / 1.049 GB, free: 7.523 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.1579, allocations: 0.789 MB / 1.049 GB, free: 6.723 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1579, allocations: 8 kB / 1.049 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1579, allocations: 0 / 1.049 GB, free: 6.715 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1579, allocations: 3.984 kB / 1.049 GB, free: 6.711 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.16, allocations: 1.523 MB / 1.051 GB, free: 5.133 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.16, allocations: 0 / 1.051 GB, free: 5.133 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.1604, allocations: 143.8 kB / 1.051 GB, free: 4.992 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/0.1609, allocations: 115.6 kB / 1.051 GB, free: 4.875 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.161, allocations: 27.98 kB / 1.051 GB, free: 4.848 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.1622, allocations: 1.892 MB / 1.053 GB, free: 2.836 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1622, allocations: 0 / 1.053 GB, free: 2.836 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1632, allocations: 0.8335 MB / 1.054 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.1635, allocations: 214.9 kB / 1.054 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.1636, allocations: 23.95 kB / 1.054 GB, free: 1.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.1639, allocations: 39.97 kB / 1.054 GB, free: 1.711 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1641, allocations: 68.86 kB / 1.054 GB, free: 1.641 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.1641, allocations: 27.98 kB / 1.054 GB, free: 1.613 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000342/0.1644, allocations: 442.7 kB / 1.055 GB, free: 1.188 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1644, allocations: 0 / 1.055 GB, free: 1.188 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007792/0.1652, allocations: 363 kB / 1.055 GB, free: 0.832 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/0.1666, allocations: 0.6325 MB / 1.056 GB, free: 384 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3697/0.5363, allocations: 0.6089 MB / 1.056 GB, free: 76.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5363, allocations: 0 / 1.056 GB, free: 76.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.5369, allocations: 451.4 kB / 1.057 GB, free: 75.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5382, allocations: 491.2 kB / 1.057 GB, free: 75.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.5406, allocations: 1.782 MB / 1.059 GB, free: 75.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.5408, allocations: 219.6 kB / 1.059 GB, free: 74.99 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005184/0.5413, allocations: 215.1 kB / 1.059 GB, free: 74.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.542, allocations: 411.6 kB / 1.06 GB, free: 74.92 MB / 1.01 GB Notification: Performance of SimCode: time 1.192e-06/0.542, allocations: 0 / 1.06 GB, free: 74.92 MB / 1.01 GB Notification: Performance of Templates: time 0.02445/0.5664, allocations: 19.68 MB / 1.079 GB, free: 73.09 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.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.596738419029862]