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.0009826/0.0009826, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009392/0.0009392, allocations: 165 kB / 23.02 MB, free: 1.551 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.9058/0.9058, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.121/2.121, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.282e-06/1.282e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.964e-05, allocations: 3.656 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01274/0.01276, allocations: 5.448 MB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1581, allocations: 146.9 MB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.1592, allocations: 31.69 kB / 1.027 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008134/0.16, allocations: 381.2 kB / 1.027 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1617, allocations: 0.59 MB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1635, allocations: 0.9192 MB / 1.029 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1649, allocations: 1.64 MB / 1.03 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/0.1656, allocations: 495.1 kB / 1.031 GB, free: 9.422 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.1666, allocations: 0.8342 MB / 1.032 GB, free: 8.586 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.167, allocations: 454.5 kB / 1.032 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.1672, allocations: 143.9 kB / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.168, allocations: 0.5072 MB / 1.033 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.1682, allocations: 350.8 kB / 1.033 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.1686, allocations: 442.8 kB / 1.033 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1703, allocations: 1.428 MB / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1703, allocations: 0 / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1703, allocations: 0 / 1.035 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.1704, allocations: 0 / 1.035 GB, free: 5.281 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.002059/0.1724, allocations: 1.79 MB / 1.037 GB, free: 3.441 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1725, allocations: 8.031 kB / 1.037 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1735, allocations: 375.4 kB / 1.037 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1747, allocations: 0.8649 MB / 1.038 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.1747, allocations: 82.16 kB / 1.038 GB, free: 2.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.1748, allocations: 108 kB / 1.038 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1762, allocations: 1.091 MB / 1.039 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1762, allocations: 0 / 1.039 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.1763, allocations: 47.98 kB / 1.039 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.1763, allocations: 24 kB / 1.039 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1775, allocations: 0.8231 MB / 1.04 GB, free: 15.85 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.181, allocations: 2.614 MB / 1.042 GB, free: 13.17 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.1819, allocations: 0.5068 MB / 1.043 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.1822, allocations: 165.6 kB / 1.043 GB, free: 12.49 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.1823, allocations: 32.62 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/0.1829, allocations: 498.5 kB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.395e-06/0.1829, allocations: 96 / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001876/0.1848, allocations: 0.8663 MB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.1848, allocations: 196.9 kB / 1.045 GB, free: 10.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/0.1856, allocations: 0.7181 MB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.1856, allocations: 49.7 kB / 1.045 GB, free: 10.03 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.186, allocations: 0.57 MB / 1.046 GB, free: 9.453 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.1862, allocations: 285.6 kB / 1.046 GB, free: 9.172 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.1864, allocations: 184.2 kB / 1.046 GB, free: 8.984 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1866, allocations: 0.5043 MB / 1.047 GB, free: 8.473 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.1869, allocations: 145.9 kB / 1.047 GB, free: 8.328 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.1873, allocations: 377.8 kB / 1.047 GB, free: 7.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.1882, allocations: 399.1 kB / 1.048 GB, free: 7.504 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1882, allocations: 0 / 1.048 GB, free: 7.504 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001309/0.1895, allocations: 0.6956 MB / 1.048 GB, free: 6.797 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1895, allocations: 4 kB / 1.048 GB, free: 6.793 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1895, allocations: 7.984 kB / 1.048 GB, free: 6.785 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.1901, allocations: 127.7 kB / 1.049 GB, free: 6.656 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.1906, allocations: 179.8 kB / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.1921, allocations: 1.909 MB / 1.051 GB, free: 4.441 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.1925, allocations: 75.59 kB / 1.051 GB, free: 4.367 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.1925, allocations: 35.98 kB / 1.051 GB, free: 4.332 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002426/0.1928, allocations: 219 kB / 1.051 GB, free: 4.109 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1929, allocations: 135.3 kB / 1.051 GB, free: 3.977 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.1945, allocations: 0.8477 MB / 1.052 GB, free: 3.117 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1945, allocations: 15.98 kB / 1.052 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1945, allocations: 0 / 1.052 GB, free: 3.102 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1945, allocations: 3.984 kB / 1.052 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1965, allocations: 1.741 MB / 1.054 GB, free: 1.297 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1965, allocations: 0 / 1.054 GB, free: 1.297 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1968, allocations: 139.8 kB / 1.054 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.1971, allocations: 119.6 kB / 1.054 GB, free: 1.039 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.1972, allocations: 23.98 kB / 1.054 GB, free: 1.016 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4155/0.6127, allocations: 1.919 MB / 1.056 GB, free: 72.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6127, allocations: 4.562 kB / 1.056 GB, free: 72.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.614, allocations: 0.8874 MB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.6142, allocations: 224.6 kB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/0.6143, allocations: 27.53 kB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.6146, allocations: 45.75 kB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6147, allocations: 73.45 kB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.6147, allocations: 40.56 kB / 1.057 GB, free: 72.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003637/0.6151, allocations: 473 kB / 1.057 GB, free: 72.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6151, allocations: 0.8125 kB / 1.057 GB, free: 72.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006787/0.6158, allocations: 368.2 kB / 1.058 GB, free: 72.13 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.001245/0.617, allocations: 0.6278 MB / 1.058 GB, free: 72 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008448/0.6179, allocations: 0.6717 MB / 1.059 GB, free: 71.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6179, allocations: 1.156 kB / 1.059 GB, free: 71.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.6183, allocations: 477 kB / 1.06 GB, free: 71.61 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.6192, allocations: 494.2 kB / 1.06 GB, free: 71.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.6217, allocations: 1.817 MB / 1.062 GB, free: 70.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.6218, allocations: 214.3 kB / 1.062 GB, free: 70.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000614/0.6224, allocations: 279.6 kB / 1.062 GB, free: 70.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.6226, allocations: 121.2 kB / 1.062 GB, free: 70.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.754e-06/0.6226, allocations: 2.969 kB / 1.062 GB, free: 70.61 MB / 1.01 GB Notification: Performance of Templates: time 0.01932/0.642, allocations: 18.19 MB / 1.08 GB, free: 68.79 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.503575606271625]