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.001053/0.001053, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00121/0.00121, allocations: 173 kB / 23.36 MB, free: 1.129 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.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.445/2.445, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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.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.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.481e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006369/0.006394, allocations: 5.358 MB / 0.8438 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.1575, allocations: 146.3 MB / 0.9867 GB, free: 5.938 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.1587, allocations: 35.69 kB / 0.9868 GB, free: 5.902 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.1595, allocations: 345.3 kB / 0.9871 GB, free: 5.562 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.1613, allocations: 0.5821 MB / 0.9876 GB, free: 4.977 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.1631, allocations: 0.8957 MB / 0.9885 GB, free: 4.078 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.1648, allocations: 1.643 MB / 0.9901 GB, free: 2.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1658, allocations: 0.4998 MB / 0.9906 GB, free: 1.883 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1671, allocations: 0.873 MB / 0.9915 GB, free: 1.008 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.1676, allocations: 418.6 kB / 0.9919 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.1677, allocations: 128 kB / 0.992 GB, free: 484 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1687, allocations: 0.5228 MB / 0.9925 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.169, allocations: 342.8 kB / 0.9928 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.1693, allocations: 426.8 kB / 0.9932 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1709, allocations: 1.397 MB / 0.9946 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1709, allocations: 0 / 0.9946 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1709, allocations: 0 / 0.9946 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.1709, allocations: 0 / 0.9946 GB, free: 13.79 MB / 0.9636 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.001657/0.1726, allocations: 1.63 MB / 0.9962 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1726, allocations: 16.61 kB / 0.9962 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.1735, allocations: 320.2 kB / 0.9965 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.1747, allocations: 0.7186 MB / 0.9972 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.1748, allocations: 90.16 kB / 0.9973 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.1748, allocations: 104 kB / 0.9974 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.1756, allocations: 0.9464 MB / 0.9983 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.1757, allocations: 0 / 0.9983 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.1757, allocations: 44 kB / 0.9984 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1757, allocations: 24 kB / 0.9984 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.1763, allocations: 0.5947 MB / 0.999 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.1785, allocations: 1.815 MB / 1.001 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.1791, allocations: 399.4 kB / 1.001 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1792, allocations: 134.8 kB / 1.001 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.1793, allocations: 32.62 kB / 1.001 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.1797, allocations: 447 kB / 1.002 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=86): time 2.195e-06/0.1797, allocations: 0 / 1.002 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=86): time 0.001145/0.1808, allocations: 0.5732 MB / 1.002 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.1809, allocations: 196.9 kB / 1.002 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.1814, allocations: 0.6303 MB / 1.003 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1815, allocations: 53.64 kB / 1.003 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1817, allocations: 418.8 kB / 1.004 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1818, allocations: 285.5 kB / 1.004 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.182, allocations: 170.4 kB / 1.004 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004065/0.1824, allocations: 337.9 kB / 1.004 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1825, allocations: 96.77 kB / 1.004 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1828, allocations: 311.6 kB / 1.005 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1831, allocations: 321.2 kB / 1.005 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1831, allocations: 4 kB / 1.005 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006734/0.1838, allocations: 474.9 kB / 1.005 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1838, allocations: 8 kB / 1.005 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1838, allocations: 0 / 1.005 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.1842, allocations: 124.7 kB / 1.006 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.1846, allocations: 187.7 kB / 1.006 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1858, allocations: 1.301 MB / 1.007 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.1861, allocations: 73.73 kB / 1.007 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.1861, allocations: 27.97 kB / 1.007 GB, free: 452 kB / 0.9636 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.0002697/0.1864, allocations: 187.2 kB / 1.007 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.1865, allocations: 83.91 kB / 1.007 GB, free: 172 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.1874, allocations: 0.6164 MB / 1.008 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1874, allocations: 12 kB / 1.008 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1874, allocations: 4 kB / 1.008 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1874, allocations: 3.984 kB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1888, allocations: 1.152 MB / 1.009 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1888, allocations: 4 kB / 1.009 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.1891, allocations: 143.8 kB / 1.009 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.1894, allocations: 116.7 kB / 1.009 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1895, allocations: 23.97 kB / 1.009 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009077/0.1904, allocations: 1.328 MB / 1.011 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1904, allocations: 0 / 1.011 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.1913, allocations: 0.5673 MB / 1.011 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.1915, allocations: 159.1 kB / 1.011 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.1916, allocations: 24 kB / 1.011 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1918, allocations: 39.97 kB / 1.011 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.1919, allocations: 72.8 kB / 1.012 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.1919, allocations: 23.97 kB / 1.012 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002617/0.1922, allocations: 323.3 kB / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 0 / 1.012 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006876/0.1929, allocations: 362.9 kB / 1.012 GB, free: 11.05 MB / 0.9792 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.001542/0.1944, allocations: 0.7583 MB / 1.013 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006789/0.1951, allocations: 0.5098 MB / 1.013 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.1951, allocations: 8 kB / 1.013 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.1954, allocations: 367.2 kB / 1.014 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.1963, allocations: 490.1 kB / 1.014 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.1987, allocations: 1.764 MB / 1.016 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.1989, allocations: 215.4 kB / 1.016 GB, free: 7.18 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005571/0.1994, allocations: 207.7 kB / 1.016 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.2001, allocations: 351 kB / 1.017 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of SimCode: time 1.723e-06/0.2001, allocations: 4 kB / 1.017 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of Templates: time 0.02769/0.2278, allocations: 19.49 MB / 1.036 GB, free: 3.477 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.2592513295821846]