Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001905/0.001905, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002132/0.002132, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 70.25 kB / 0.908 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008251/0.3261, allocations: 5.601 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.516, allocations: 148.6 MB / 1.214 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.5173, allocations: 27.81 kB / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.5182, allocations: 310.1 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.5202, allocations: 496.6 kB / 1.215 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.5223, allocations: 0.785 MB / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001973/0.5243, allocations: 1.554 MB / 1.217 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.5255, allocations: 0.7636 MB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.5264, allocations: 0.5293 MB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.5271, allocations: 0.5714 MB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.5273, allocations: 132 kB / 1.219 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.5282, allocations: 479.7 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.5287, allocations: 342.8 kB / 1.22 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.5293, allocations: 0.6605 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.5315, allocations: 1.865 MB / 1.222 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5316, allocations: 0 / 1.222 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5316, allocations: 0 / 1.222 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.5316, allocations: 0 / 1.222 GB, free: 11.24 MB / 0.9825 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.003014/0.5346, allocations: 1.68 MB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5347, allocations: 8.031 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009547/0.5356, allocations: 219 kB / 1.224 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.537, allocations: 0.8866 MB / 1.225 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/0.537, allocations: 74 kB / 1.225 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.5372, allocations: 96 kB / 1.225 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5391, allocations: 1.035 MB / 1.226 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5391, allocations: 4 kB / 1.226 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.5392, allocations: 40 kB / 1.226 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.5392, allocations: 28 kB / 1.226 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.5413, allocations: 1.163 MB / 1.227 GB, free: 5.879 MB / 0.9825 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.004825/0.5461, allocations: 3.044 MB / 1.23 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.5477, allocations: 0.7974 MB / 1.231 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.5483, allocations: 298.7 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.738e-05/0.5484, allocations: 28.61 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009803/0.5494, allocations: 0.4951 MB / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.5494, allocations: 0 / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.00329/0.5527, allocations: 1.205 MB / 1.233 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.5528, allocations: 196.5 kB / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.554, allocations: 0.7951 MB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.5541, allocations: 41.7 kB / 1.234 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/0.5546, allocations: 0.5117 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.5549, allocations: 252.4 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.5552, allocations: 162.5 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5554, allocations: 337.9 kB / 1.235 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.556, allocations: 265.8 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.5566, allocations: 363.1 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5578, allocations: 0.5995 MB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5578, allocations: 0 / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002075/0.5599, allocations: 0.8641 MB / 1.237 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5599, allocations: 8.094 kB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5599, allocations: 4 kB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.5606, allocations: 88.7 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.5613, allocations: 155.8 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5636, allocations: 1.65 MB / 1.239 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.5644, allocations: 91.31 kB / 1.239 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.5645, allocations: 44.03 kB / 1.239 GB, free: 9.18 MB / 0.9981 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.0005649/0.5651, allocations: 295.4 kB / 1.24 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.5653, allocations: 102.7 kB / 1.24 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.5678, allocations: 1.07 MB / 1.241 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5678, allocations: 8 kB / 1.241 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5678, allocations: 7.938 kB / 1.241 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5678, allocations: 3.984 kB / 1.241 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5691, allocations: 1.006 MB / 1.242 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5692, allocations: 0 / 1.242 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.5697, allocations: 143.8 kB / 1.242 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.5702, allocations: 72.78 kB / 1.242 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.5703, allocations: 23.98 kB / 1.242 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.5724, allocations: 1.685 MB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5724, allocations: 4.062 kB / 1.244 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.5745, allocations: 0.9393 MB / 1.245 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.5749, allocations: 287.5 kB / 1.245 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.5751, allocations: 16 kB / 1.245 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.5757, allocations: 71.8 kB / 1.245 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5759, allocations: 76.84 kB / 1.245 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5759, allocations: 35.97 kB / 1.245 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008028/0.5768, allocations: 0.5581 MB / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5768, allocations: 0 / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000887/0.5777, allocations: 347 kB / 1.246 GB, free: 2.18 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.001942/0.5796, allocations: 0.5943 MB / 1.247 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.5821, allocations: 1.019 MB / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5821, allocations: 0 / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.583, allocations: 0.5161 MB / 1.248 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4555/1.039, allocations: 464.4 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/1.042, allocations: 2.429 MB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/1.043, allocations: 1.101 MB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009889/1.044, allocations: 287.4 kB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.044, allocations: 110.7 kB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.044, allocations: 1.062 kB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03331/1.077, allocations: 17.27 MB / 1.269 GB, free: 180.9 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches