Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.3 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.867/1.867, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 94.56 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.308/4.646, allocations: 1.732 GB / 2.955 GB, free: 287.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/4.646, allocations: 96.94 kB / 2.955 GB, free: 287.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1405/4.787, allocations: 64.34 MB / 3.018 GB, free: 222.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/4.787, allocations: 0 / 3.018 GB, free: 222.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.946e-05/4.787, allocations: 35.94 kB / 3.018 GB, free: 222.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002172/4.789, allocations: 1.382 MB / 3.019 GB, free: 221.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/4.789, allocations: 8.031 kB / 3.019 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/4.79, allocations: 218.2 kB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/4.791, allocations: 0.7755 MB / 3.02 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/4.791, allocations: 73.94 kB / 3.02 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/4.791, allocations: 92 kB / 3.02 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/4.793, allocations: 0.9574 MB / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/4.793, allocations: 0 / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/4.793, allocations: 47.94 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/4.793, allocations: 24 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/4.794, allocations: 1.12 MB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/4.798, allocations: 2.738 MB / 3.025 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/4.799, allocations: 0.7185 MB / 3.026 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/4.799, allocations: 32.58 kB / 3.026 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/4.8, allocations: 421.8 kB / 3.026 GB, free: 213.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/4.8, allocations: 0 / 3.026 GB, free: 213.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.002456/4.802, allocations: 1.087 MB / 3.027 GB, free: 212.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/4.802, allocations: 239.9 kB / 3.027 GB, free: 212.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/4.803, allocations: 0.7272 MB / 3.028 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/4.803, allocations: 41.7 kB / 3.028 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/4.803, allocations: 488 kB / 3.029 GB, free: 211 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/4.803, allocations: 240.6 kB / 3.029 GB, free: 210.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/4.803, allocations: 12 kB / 3.029 GB, free: 210.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/4.804, allocations: 330 kB / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/4.804, allocations: 209.2 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/4.804, allocations: 323.6 kB / 3.03 GB, free: 209.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/4.805, allocations: 267.1 kB / 3.03 GB, free: 209.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/4.805, allocations: 0 / 3.03 GB, free: 209.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001451/4.806, allocations: 0.7312 MB / 3.031 GB, free: 208.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/4.806, allocations: 7.938 kB / 3.031 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/4.806, allocations: 0 / 3.031 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/4.807, allocations: 84.83 kB / 3.031 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/4.807, allocations: 127.9 kB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/4.809, allocations: 1.547 MB / 3.032 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/4.81, allocations: 75.59 kB / 3.032 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/4.81, allocations: 24.31 kB / 3.033 GB, free: 206.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004503/4.81, allocations: 278.2 kB / 3.033 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/4.81, allocations: 102.7 kB / 3.033 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/4.812, allocations: 0.9916 MB / 3.034 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/4.812, allocations: 8 kB / 3.034 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/4.812, allocations: 4 kB / 3.034 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/4.812, allocations: 3.984 kB / 3.034 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/4.813, allocations: 0.9698 MB / 3.035 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/4.813, allocations: 0 / 3.035 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/4.814, allocations: 131.8 kB / 3.035 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/4.814, allocations: 84.77 kB / 3.035 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/4.814, allocations: 23.98 kB / 3.035 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/4.816, allocations: 1.575 MB / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/4.816, allocations: 4.062 kB / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/4.817, allocations: 0.849 MB / 3.037 GB, free: 201.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/4.818, allocations: 299.5 kB / 3.038 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/4.818, allocations: 16 kB / 3.038 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/4.818, allocations: 63.95 kB / 3.038 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/4.818, allocations: 60.86 kB / 3.038 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/4.819, allocations: 31.98 kB / 3.038 GB, free: 201.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006202/4.819, allocations: 0.5732 MB / 3.038 GB, free: 200.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/4.819, allocations: 0 / 3.038 GB, free: 200.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001102/4.82, allocations: 386.9 kB / 3.039 GB, free: 200.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/4.822, allocations: 1.074 MB / 3.04 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001356/4.824, allocations: 0.7122 MB / 3.041 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/4.824, allocations: 0 / 3.041 GB, free: 198.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/4.824, allocations: 488.2 kB / 3.041 GB, free: 198.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/4.826, allocations: 379.8 kB / 3.041 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/4.829, allocations: 2.399 MB / 3.044 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/4.83, allocations: 1.09 MB / 3.045 GB, free: 194.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008422/4.831, allocations: 279 kB / 3.045 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/4.831, allocations: 103.4 kB / 3.045 GB, free: 193.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.61e-07/4.831, allocations: 4 kB / 3.045 GB, free: 193.8 MB / 1.167 GB Notification: Performance of Templates: time 0.02881/4.86, allocations: 22.24 MB / 3.067 GB, free: 171.7 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches