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.005796/0.005796, allocations: 96.89 kB / 15.73 MB, free: 5.547 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.001233/0.001233, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8794, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007873/0.8873, allocations: 5.623 MB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1644/1.052, allocations: 151.3 MB / 1.374 GB, free: 4.566 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/1.053, allocations: 23.88 kB / 1.374 GB, free: 4.543 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/1.054, allocations: 365.3 kB / 1.374 GB, free: 4.184 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/1.056, allocations: 0.5785 MB / 1.375 GB, free: 3.605 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/1.058, allocations: 0.8773 MB / 1.376 GB, free: 2.734 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001731/1.06, allocations: 1.554 MB / 1.377 GB, free: 1.176 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008569/1.06, allocations: 0.5172 MB / 1.378 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006838/1.061, allocations: 0.5371 MB / 1.378 GB, free: 84 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/1.062, allocations: 0.5677 MB / 1.379 GB, free: 15.51 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/1.062, allocations: 135.9 kB / 1.379 GB, free: 15.38 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/1.063, allocations: 0.4916 MB / 1.379 GB, free: 14.89 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002931/1.063, allocations: 334.8 kB / 1.38 GB, free: 14.56 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005393/1.064, allocations: 0.6605 MB / 1.38 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/1.066, allocations: 1.919 MB / 1.382 GB, free: 11.97 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.066, allocations: 0 / 1.382 GB, free: 11.97 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.066, allocations: 0 / 1.382 GB, free: 11.97 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.767e-05/1.066, allocations: 0 / 1.382 GB, free: 11.97 MB / 1.107 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.002652/1.068, allocations: 1.727 MB / 1.384 GB, free: 10.19 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.068, allocations: 8.031 kB / 1.384 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/1.069, allocations: 223.8 kB / 1.384 GB, free: 9.961 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.071, allocations: 0.9225 MB / 1.385 GB, free: 8.996 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/1.071, allocations: 74 kB / 1.385 GB, free: 8.926 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.071, allocations: 100 kB / 1.385 GB, free: 8.828 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.073, allocations: 1.035 MB / 1.386 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.073, allocations: 0 / 1.386 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/1.073, allocations: 43.98 kB / 1.386 GB, free: 7.707 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.073, allocations: 24 kB / 1.386 GB, free: 7.684 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/1.075, allocations: 1.167 MB / 1.387 GB, free: 6.52 MB / 1.107 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.004551/1.079, allocations: 3.022 MB / 1.39 GB, free: 3.379 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.081, allocations: 0.7495 MB / 1.391 GB, free: 2.625 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/1.081, allocations: 274.7 kB / 1.391 GB, free: 2.348 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/1.081, allocations: 28.61 kB / 1.391 GB, free: 2.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008036/1.082, allocations: 0.4889 MB / 1.392 GB, free: 1.812 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 1.994e-06/1.082, allocations: 0 / 1.392 GB, free: 1.812 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003196/1.085, allocations: 1.214 MB / 1.393 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/1.085, allocations: 188.6 kB / 1.393 GB, free: 356 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/1.086, allocations: 0.7913 MB / 1.394 GB, free: 15.53 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/1.086, allocations: 41.7 kB / 1.394 GB, free: 15.48 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.087, allocations: 0.5125 MB / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/1.087, allocations: 265.8 kB / 1.395 GB, free: 14.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/1.087, allocations: 174.5 kB / 1.395 GB, free: 14.53 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.087, allocations: 337.9 kB / 1.395 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/1.088, allocations: 261.9 kB / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/1.088, allocations: 363.1 kB / 1.396 GB, free: 13.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.089, allocations: 0.5994 MB / 1.396 GB, free: 12.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.089, allocations: 0 / 1.396 GB, free: 12.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001914/1.091, allocations: 0.8647 MB / 1.397 GB, free: 12.08 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.091, allocations: 5.875 kB / 1.397 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.091, allocations: 4.094 kB / 1.397 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/1.092, allocations: 88.66 kB / 1.397 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/1.093, allocations: 163.7 kB / 1.398 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.095, allocations: 1.638 MB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/1.096, allocations: 99.52 kB / 1.399 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/1.096, allocations: 35.97 kB / 1.399 GB, free: 9.906 MB / 1.123 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.0006186/1.097, allocations: 298.4 kB / 1.4 GB, free: 9.609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.097, allocations: 107.3 kB / 1.4 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/1.099, allocations: 1.078 MB / 1.401 GB, free: 8.418 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.099, allocations: 12 kB / 1.401 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.099, allocations: 7.922 kB / 1.401 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/1.099, allocations: 7.984 kB / 1.401 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.101, allocations: 0.9975 MB / 1.402 GB, free: 7.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.101, allocations: 0 / 1.402 GB, free: 7.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/1.101, allocations: 143.8 kB / 1.402 GB, free: 7.199 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/1.102, allocations: 72.78 kB / 1.402 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/1.102, allocations: 23.98 kB / 1.402 GB, free: 7.102 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/1.104, allocations: 1.678 MB / 1.404 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.104, allocations: 0 / 1.404 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.106, allocations: 0.9516 MB / 1.404 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/1.106, allocations: 292.1 kB / 1.405 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.106, allocations: 24.05 kB / 1.405 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/1.107, allocations: 63.94 kB / 1.405 GB, free: 3.914 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.107, allocations: 68.84 kB / 1.405 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/1.107, allocations: 39.97 kB / 1.405 GB, free: 3.809 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008557/1.108, allocations: 0.5503 MB / 1.405 GB, free: 3.246 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.108, allocations: 0 / 1.405 GB, free: 3.246 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001097/1.109, allocations: 347 kB / 1.406 GB, free: 2.906 MB / 1.123 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.001607/1.111, allocations: 0.619 MB / 1.406 GB, free: 2.457 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001996/1.113, allocations: 0.7922 MB / 1.407 GB, free: 1.652 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.113, allocations: 0 / 1.407 GB, free: 1.652 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/1.114, allocations: 0.4886 MB / 1.408 GB, free: 1.156 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.115, allocations: 473.1 kB / 1.408 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/1.119, allocations: 1.944 MB / 1.41 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/1.119, allocations: 1.102 MB / 1.411 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008709/1.12, allocations: 283.6 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.121, allocations: 107.3 kB / 1.411 GB, free: 13.23 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/1.121, allocations: 0 / 1.411 GB, free: 13.23 MB / 1.139 GB Notification: Performance of Templates: time 0.03093/1.151, allocations: 17.63 MB / 1.429 GB, free: 11.78 MB / 1.154 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=480 -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