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.0009849/0.0009849, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001007/0.001007, allocations: 173 kB / 23.36 MB, free: 1.133 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.006/1.006, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.38/2.38, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.124e-06/2.124e-06, allocations: 0 / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.776e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007831/0.007869, allocations: 5.314 MB / 0.8437 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1395/0.1473, allocations: 146.3 MB / 0.9866 GB, free: 6.016 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1484, allocations: 35.69 kB / 0.9867 GB, free: 5.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.1491, allocations: 341.3 kB / 0.987 GB, free: 5.645 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1505, allocations: 0.6054 MB / 0.9876 GB, free: 5.035 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1521, allocations: 0.9115 MB / 0.9885 GB, free: 4.121 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.1534, allocations: 1.639 MB / 0.9901 GB, free: 2.477 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.154, allocations: 0.4998 MB / 0.9906 GB, free: 1.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009083/0.1549, allocations: 0.873 MB / 0.9914 GB, free: 1.055 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.1553, allocations: 418.6 kB / 0.9918 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1554, allocations: 128 kB / 0.9919 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1564, allocations: 0.4955 MB / 0.9924 GB, free: 24 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1567, allocations: 342.8 kB / 0.9928 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.1569, allocations: 426.9 kB / 0.9932 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1582, allocations: 1.393 MB / 0.9945 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1582, allocations: 3.938 kB / 0.9945 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1582, allocations: 0 / 0.9945 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.1582, allocations: 0 / 0.9945 GB, free: 13.86 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.001463/0.1597, allocations: 1.634 MB / 0.9961 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1597, allocations: 8.625 kB / 0.9961 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.1605, allocations: 328.1 kB / 0.9964 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.1612, allocations: 0.7186 MB / 0.9971 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.1613, allocations: 82.16 kB / 0.9972 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.1614, allocations: 108 kB / 0.9973 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.1621, allocations: 0.9464 MB / 0.9983 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1621, allocations: 0 / 0.9983 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.1622, allocations: 40 kB / 0.9983 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1622, allocations: 28 kB / 0.9983 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.1627, allocations: 0.6064 MB / 0.9989 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.165, allocations: 1.808 MB / 1.001 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1655, allocations: 407.2 kB / 1.001 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1656, allocations: 126.8 kB / 1.001 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.1657, allocations: 32.64 kB / 1.001 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.166, allocations: 451.1 kB / 1.002 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=86): time 1.803e-06/0.166, allocations: 0 / 1.002 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=86): time 0.0009506/0.1669, allocations: 0.5654 MB / 1.002 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.167, allocations: 200.9 kB / 1.002 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.1675, allocations: 0.6381 MB / 1.003 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.1675, allocations: 45.7 kB / 1.003 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1677, allocations: 418.8 kB / 1.003 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1678, allocations: 289.5 kB / 1.004 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.168, allocations: 170.5 kB / 1.004 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1681, allocations: 345.9 kB / 1.004 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1682, allocations: 92.77 kB / 1.004 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.1684, allocations: 307.6 kB / 1.005 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1687, allocations: 317.2 kB / 1.005 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1687, allocations: 0 / 1.005 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000614/0.1693, allocations: 478.8 kB / 1.005 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1693, allocations: 4 kB / 1.005 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1693, allocations: 0 / 1.005 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.1697, allocations: 128.8 kB / 1.005 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1701, allocations: 163.7 kB / 1.006 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1713, allocations: 1.307 MB / 1.007 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1716, allocations: 83.56 kB / 1.007 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1716, allocations: 19.98 kB / 1.007 GB, free: 0.5273 MB / 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.0002006/0.1718, allocations: 175 kB / 1.007 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.1719, allocations: 87.92 kB / 1.007 GB, free: 268 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.1727, allocations: 0.6282 MB / 1.008 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1727, allocations: 12 kB / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1727, allocations: 0 / 1.008 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1727, allocations: 7.969 kB / 1.008 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1741, allocations: 1.152 MB / 1.009 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1741, allocations: 0 / 1.009 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.1743, allocations: 135.8 kB / 1.009 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/0.1746, allocations: 112.8 kB / 1.009 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.1747, allocations: 19.98 kB / 1.009 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008621/0.1755, allocations: 1.328 MB / 1.011 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1755, allocations: 8 kB / 1.011 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.1761, allocations: 0.5673 MB / 1.011 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.1763, allocations: 167 kB / 1.011 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.1764, allocations: 20 kB / 1.011 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1766, allocations: 39.91 kB / 1.011 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.1767, allocations: 72.86 kB / 1.011 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.1767, allocations: 23.98 kB / 1.011 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002719/0.177, allocations: 319.3 kB / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/0.177, allocations: 0 / 1.012 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007038/0.1777, allocations: 366.9 kB / 1.012 GB, free: 11.14 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.001678/0.1794, allocations: 0.7514 MB / 1.013 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.1804, allocations: 0.5098 MB / 1.013 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.1804, allocations: 8 kB / 1.013 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1807, allocations: 366.9 kB / 1.014 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.1816, allocations: 485.7 kB / 1.014 GB, free: 9.312 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.184, allocations: 1.759 MB / 1.016 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.1841, allocations: 219.3 kB / 1.016 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004597/0.1846, allocations: 219.7 kB / 1.016 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.1851, allocations: 347 kB / 1.017 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of SimCode: time 1.764e-06/0.1851, allocations: 0 / 1.017 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of Templates: time 0.02354/0.2087, allocations: 19.48 MB / 1.036 GB, free: 3.578 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 -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.305014505982399]