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.00145/0.00145, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009871/0.0009871, allocations: 165 kB / 23.82 MB, free: 0.7461 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.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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 1.673e-06/1.673e-06, allocations: 0 / 0.8115 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.947e-05, allocations: 3.031 kB / 0.8115 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005271/0.005291, allocations: 5.456 MB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.1337, allocations: 146.8 MB / 0.9602 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009799/0.1347, allocations: 35.69 kB / 0.9603 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.1354, allocations: 369.3 kB / 0.9606 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.1369, allocations: 0.6172 MB / 0.9612 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1384, allocations: 0.9037 MB / 0.9621 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1396, allocations: 1.647 MB / 0.9637 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.1402, allocations: 495.1 kB / 0.9642 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.1409, allocations: 0.8419 MB / 0.965 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1413, allocations: 446.6 kB / 0.9654 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1414, allocations: 140 kB / 0.9656 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006735/0.1421, allocations: 0.5072 MB / 0.9661 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1423, allocations: 358.7 kB / 0.9664 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.1426, allocations: 450.8 kB / 0.9668 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.1439, allocations: 1.424 MB / 0.9682 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1439, allocations: 0 / 0.9682 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1439, allocations: 4 kB / 0.9682 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.144, allocations: 0 / 0.9682 GB, free: 0.5898 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.001729/0.1457, allocations: 1.788 MB / 0.97 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1457, allocations: 8.031 kB / 0.97 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.1465, allocations: 371.4 kB / 0.9703 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.1474, allocations: 0.8726 MB / 0.9712 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.1475, allocations: 81.41 kB / 0.9713 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.1476, allocations: 108 kB / 0.9714 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1486, allocations: 1.095 MB / 0.9724 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1486, allocations: 0 / 0.9724 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.1487, allocations: 48 kB / 0.9725 GB, free: 12 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1487, allocations: 27.94 kB / 0.9725 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.1496, allocations: 0.8192 MB / 0.9733 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.1522, allocations: 2.629 MB / 0.9759 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.1529, allocations: 498.5 kB / 0.9763 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.1532, allocations: 173.5 kB / 0.9765 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.1532, allocations: 25.2 kB / 0.9765 GB, free: 7.77 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.1537, allocations: 0.5024 MB / 0.977 GB, free: 7.223 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 1.964e-06/0.1537, allocations: 0 / 0.977 GB, free: 7.223 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.001513/0.1552, allocations: 0.8586 MB / 0.9779 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.1553, allocations: 200.9 kB / 0.9781 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.1559, allocations: 0.7103 MB / 0.9787 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.156, allocations: 53.69 kB / 0.9788 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.1563, allocations: 0.5662 MB / 0.9794 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1564, allocations: 285.6 kB / 0.9796 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1566, allocations: 188.2 kB / 0.9798 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1567, allocations: 0.5082 MB / 0.9803 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.157, allocations: 141.9 kB / 0.9804 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.1573, allocations: 385.7 kB / 0.9808 GB, free: 3.203 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.1578, allocations: 395.1 kB / 0.9812 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1578, allocations: 0 / 0.9812 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009967/0.1588, allocations: 0.6956 MB / 0.9819 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1588, allocations: 4 kB / 0.9819 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1588, allocations: 0 / 0.9819 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.1593, allocations: 135.6 kB / 0.982 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.1597, allocations: 175.8 kB / 0.9822 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.161, allocations: 1.907 MB / 0.984 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1613, allocations: 71.59 kB / 0.9841 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.1614, allocations: 44 kB / 0.9841 GB, free: 15.64 MB / 0.948 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.0002147/0.1616, allocations: 215.2 kB / 0.9843 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1617, allocations: 143.2 kB / 0.9845 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.1629, allocations: 0.8555 MB / 0.9853 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1629, allocations: 11.94 kB / 0.9853 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1629, allocations: 4 kB / 0.9853 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1629, allocations: 3.984 kB / 0.9853 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1648, allocations: 1.745 MB / 0.987 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1648, allocations: 0 / 0.987 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.1651, allocations: 135.8 kB / 0.9872 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.1654, allocations: 127.5 kB / 0.9873 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.1655, allocations: 27.98 kB / 0.9873 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1667, allocations: 1.918 MB / 0.9892 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1667, allocations: 3.984 kB / 0.9892 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1677, allocations: 0.896 MB / 0.9901 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.168, allocations: 211 kB / 0.9903 GB, free: 9.113 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.168, allocations: 31.94 kB / 0.9903 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1683, allocations: 43.91 kB / 0.9903 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1684, allocations: 72.86 kB / 0.9904 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.1685, allocations: 39.97 kB / 0.9904 GB, free: 8.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000392/0.1688, allocations: 474.9 kB / 0.9909 GB, free: 8.473 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1688, allocations: 0 / 0.9909 GB, free: 8.473 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006354/0.1695, allocations: 363 kB / 0.9912 GB, free: 8.117 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.001193/0.1707, allocations: 0.633 MB / 0.9919 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.1716, allocations: 0.6796 MB / 0.9925 GB, free: 6.953 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1716, allocations: 0 / 0.9925 GB, free: 6.953 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.1721, allocations: 489.2 kB / 0.993 GB, free: 6.457 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.173, allocations: 487 kB / 0.9935 GB, free: 6.012 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.1754, allocations: 1.812 MB / 0.9952 GB, free: 4.156 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.1756, allocations: 223.4 kB / 0.9954 GB, free: 3.918 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004679/0.176, allocations: 283.5 kB / 0.9957 GB, free: 3.637 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.1762, allocations: 116.4 kB / 0.9958 GB, free: 3.523 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.1762, allocations: 0 / 0.9958 GB, free: 3.523 MB / 0.948 GB Notification: Performance of Templates: time 0.02057/0.1968, allocations: 18.24 MB / 1.014 GB, free: 1.582 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.834596599917859]