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.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002466/0.002467, allocations: 195 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.97 kB / 0.8984 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4074, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0126/0.4201, allocations: 5.61 MB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.5932, allocations: 148.6 MB / 1.203 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.5944, allocations: 27.81 kB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.5956, allocations: 290.1 kB / 1.203 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.5976, allocations: 484.7 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5997, allocations: 0.7519 MB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.6017, allocations: 1.449 MB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.603, allocations: 0.7511 MB / 1.206 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.6038, allocations: 474 kB / 1.207 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.6045, allocations: 0.5324 MB / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.6048, allocations: 64 kB / 1.207 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009688/0.6057, allocations: 407.6 kB / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6061, allocations: 266.8 kB / 1.208 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.6068, allocations: 0.598 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.6094, allocations: 1.807 MB / 1.21 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6094, allocations: 0 / 1.21 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6094, allocations: 3.938 kB / 1.21 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.125e-05/0.6095, allocations: 0 / 1.21 GB, free: 6.145 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003921/0.6134, allocations: 1.68 MB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.6135, allocations: 12.03 kB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6146, allocations: 215.1 kB / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.6161, allocations: 0.8944 MB / 1.213 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.6162, allocations: 70 kB / 1.213 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6163, allocations: 96 kB / 1.213 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.6181, allocations: 1.032 MB / 1.214 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6182, allocations: 0 / 1.214 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.6183, allocations: 44 kB / 1.214 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.6183, allocations: 27.98 kB / 1.214 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.6202, allocations: 1.167 MB / 1.215 GB, free: 0.7812 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.6249, allocations: 3.041 MB / 1.218 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.6265, allocations: 0.7973 MB / 1.219 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.6271, allocations: 302.6 kB / 1.219 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.929e-05/0.6272, allocations: 28.61 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009789/0.6282, allocations: 495.1 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 4.469e-06/0.6282, allocations: 0 / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.00324/0.6314, allocations: 1.213 MB / 1.221 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6316, allocations: 188.6 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.6328, allocations: 0.7952 MB / 1.222 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.6328, allocations: 37.7 kB / 1.222 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.6333, allocations: 0.5078 MB / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.6335, allocations: 260.3 kB / 1.223 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.6338, allocations: 158.5 kB / 1.223 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6339, allocations: 345.8 kB / 1.223 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.6345, allocations: 265.9 kB / 1.224 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.6352, allocations: 355.1 kB / 1.224 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6363, allocations: 0.6033 MB / 1.225 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6363, allocations: 0 / 1.225 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002058/0.6384, allocations: 0.8642 MB / 1.225 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6384, allocations: 9.406 kB / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6384, allocations: 0 / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.6391, allocations: 88.75 kB / 1.225 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.6397, allocations: 155.8 kB / 1.226 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.6419, allocations: 1.54 MB / 1.227 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.6428, allocations: 95.38 kB / 1.227 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.6429, allocations: 35.97 kB / 1.227 GB, free: 4.211 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (92): * Single equations (assignments): 91 * 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.0006691/0.6435, allocations: 291.4 kB / 1.228 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.6439, allocations: 102.7 kB / 1.228 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.6466, allocations: 1.074 MB / 1.229 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6466, allocations: 12 kB / 1.229 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6466, allocations: 0 / 1.229 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6466, allocations: 7.969 kB / 1.229 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.648, allocations: 1.002 MB / 1.23 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.648, allocations: 4 kB / 1.23 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.6486, allocations: 143.8 kB / 1.23 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005675/0.6491, allocations: 88.75 kB / 1.23 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.6492, allocations: 23.98 kB / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.6512, allocations: 1.555 MB / 1.231 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6512, allocations: 3.984 kB / 1.231 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.6533, allocations: 0.9471 MB / 1.232 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.6538, allocations: 287.5 kB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.6539, allocations: 19.91 kB / 1.233 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/0.6546, allocations: 59.94 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6548, allocations: 72.89 kB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.6549, allocations: 31.98 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001085/0.656, allocations: 0.562 MB / 1.233 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.656, allocations: 0 / 1.233 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001329/0.6573, allocations: 343 kB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001826/0.6592, allocations: 0.6044 MB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.6614, allocations: 0.8196 MB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6614, allocations: 0 / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.6626, allocations: 0.5236 MB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6646, allocations: 421.9 kB / 1.236 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.6689, allocations: 2.429 MB / 1.238 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.6697, allocations: 1.094 MB / 1.239 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009887/0.6707, allocations: 287.7 kB / 1.24 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.671, allocations: 115.4 kB / 1.24 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.024e-06/0.6711, allocations: 0 / 1.24 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.5298/1.201, allocations: 16.66 MB / 1.256 GB, free: 191 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches