Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001014/0.001014, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00096/0.00096, allocations: 169 kB / 24.28 MB, free: 276 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.9789/0.9789, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.906/1.906, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 4 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.143e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00547/0.005491, allocations: 5.4 MB / 0.8168 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1218/0.1273, allocations: 146.6 MB / 0.9599 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009008/0.1282, allocations: 35.69 kB / 0.96 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.1289, allocations: 373.2 kB / 0.9603 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1304, allocations: 0.5978 MB / 0.9609 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1319, allocations: 0.9115 MB / 0.9618 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1333, allocations: 1.643 MB / 0.9634 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.1339, allocations: 499 kB / 0.9639 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.1348, allocations: 0.8342 MB / 0.9647 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.1353, allocations: 454.5 kB / 0.9651 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1354, allocations: 140 kB / 0.9653 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.1361, allocations: 0.5071 MB / 0.9658 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.1363, allocations: 354.8 kB / 0.9661 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.1366, allocations: 450.8 kB / 0.9665 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.138, allocations: 1.428 MB / 0.9679 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.138, allocations: 0 / 0.9679 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.82e-07/0.138, allocations: 0 / 0.9679 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.138, allocations: 0 / 0.9679 GB, free: 1.363 MB / 0.9167 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.001799/0.1398, allocations: 1.787 MB / 0.9697 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1398, allocations: 8.031 kB / 0.9697 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.1407, allocations: 367.4 kB / 0.97 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.1416, allocations: 0.8726 MB / 0.9709 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.1417, allocations: 82.16 kB / 0.971 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.1418, allocations: 108 kB / 0.9711 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1431, allocations: 1.103 MB / 0.9721 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1431, allocations: 0 / 0.9721 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.1432, allocations: 44 kB / 0.9722 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1432, allocations: 24 kB / 0.9722 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.1441, allocations: 0.827 MB / 0.973 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.1468, allocations: 2.621 MB / 0.9756 GB, free: 9.242 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/0.1476, allocations: 0.4952 MB / 0.9761 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.1479, allocations: 173.5 kB / 0.9762 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.1479, allocations: 32.62 kB / 0.9763 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.1484, allocations: 498.5 kB / 0.9767 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.345e-06/0.1484, allocations: 0 / 0.9767 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.0015/0.1499, allocations: 0.8546 MB / 0.9776 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1499, allocations: 204.8 kB / 0.9778 GB, free: 6.898 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005856/0.1505, allocations: 0.722 MB / 0.9785 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.1506, allocations: 49.7 kB / 0.9785 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/0.1512, allocations: 0.5661 MB / 0.9791 GB, free: 5.531 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1514, allocations: 289.6 kB / 0.9793 GB, free: 5.246 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1515, allocations: 180.2 kB / 0.9795 GB, free: 5.062 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1517, allocations: 0.5082 MB / 0.98 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1519, allocations: 141.9 kB / 0.9801 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.1522, allocations: 381.8 kB / 0.9805 GB, free: 3.984 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.1528, allocations: 399.1 kB / 0.9809 GB, free: 3.582 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1528, allocations: 0 / 0.9809 GB, free: 3.582 MB / 0.9323 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001024/0.1538, allocations: 0.6995 MB / 0.9816 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1538, allocations: 8 kB / 0.9816 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1538, allocations: 0 / 0.9816 GB, free: 2.859 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.1543, allocations: 123.7 kB / 0.9817 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.1547, allocations: 179.8 kB / 0.9819 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.156, allocations: 1.912 MB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1563, allocations: 77.16 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.1563, allocations: 39.97 kB / 0.9838 GB, free: 420 kB / 0.9323 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.0002211/0.1565, allocations: 215 kB / 0.9841 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1567, allocations: 139.3 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1579, allocations: 0.8517 MB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1579, allocations: 11.94 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1579, allocations: 8 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1579, allocations: 3.984 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.16, allocations: 1.741 MB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.16, allocations: 4 kB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.1603, allocations: 143.8 kB / 0.9869 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.1606, allocations: 111.6 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.1607, allocations: 23.98 kB / 0.987 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.1618, allocations: 1.93 MB / 0.9889 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1618, allocations: 0 / 0.9889 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1628, allocations: 0.8999 MB / 0.9898 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.163, allocations: 218.9 kB / 0.99 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.1631, allocations: 27.94 kB / 0.99 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.1633, allocations: 43.97 kB / 0.9901 GB, free: 9.812 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1635, allocations: 84.78 kB / 0.9901 GB, free: 9.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1635, allocations: 31.98 kB / 0.9902 GB, free: 9.699 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003828/0.1639, allocations: 474.9 kB / 0.9906 GB, free: 9.242 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1639, allocations: 0 / 0.9906 GB, free: 9.242 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005866/0.1645, allocations: 367 kB / 0.991 GB, free: 8.883 MB / 0.948 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 (97): * Single equations (assignments): 86 * 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.001177/0.1656, allocations: 0.6299 MB / 0.9916 GB, free: 8.426 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.1665, allocations: 0.6759 MB / 0.9922 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1665, allocations: 0 / 0.9922 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.167, allocations: 485 kB / 0.9927 GB, free: 7.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.1682, allocations: 485.4 kB / 0.9932 GB, free: 6.785 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1705, allocations: 1.814 MB / 0.9949 GB, free: 4.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1707, allocations: 227.4 kB / 0.9952 GB, free: 4.688 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.1712, allocations: 271.6 kB / 0.9954 GB, free: 4.418 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.1714, allocations: 120.4 kB / 0.9955 GB, free: 4.301 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.1714, allocations: 0 / 0.9955 GB, free: 4.301 MB / 0.948 GB Notification: Performance of Templates: time 0.0203/0.1917, allocations: 18.24 MB / 1.013 GB, free: 2.359 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.706799868028611]