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.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.001347/0.001347, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001466/0.001466, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 70.06 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008495/0.3386, allocations: 5.083 MB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.519, allocations: 132.9 MB / 1.418 GB, free: 1.398 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.521, allocations: 35.69 kB / 1.418 GB, free: 1.363 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.5222, allocations: 385.2 kB / 1.418 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.5245, allocations: 0.5861 MB / 1.419 GB, free: 408 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.5269, allocations: 0.9011 MB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.5293, allocations: 1.574 MB / 1.421 GB, free: 13.92 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.5303, allocations: 498.9 kB / 1.422 GB, free: 13.4 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.5312, allocations: 0.5683 MB / 1.422 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.5319, allocations: 0.5206 MB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.5321, allocations: 136 kB / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.5332, allocations: 0.4996 MB / 1.423 GB, free: 11.67 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.5336, allocations: 338.8 kB / 1.424 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.5342, allocations: 0.5246 MB / 1.424 GB, free: 10.81 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.5367, allocations: 1.984 MB / 1.426 GB, free: 8.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5367, allocations: 0 / 1.426 GB, free: 8.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5367, allocations: 4 kB / 1.426 GB, free: 8.816 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.5368, allocations: 0 / 1.426 GB, free: 8.816 MB / 1.123 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.003098/0.5399, allocations: 1.684 MB / 1.428 GB, free: 7.094 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5399, allocations: 8.031 kB / 1.428 GB, free: 7.086 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.5414, allocations: 259.8 kB / 1.428 GB, free: 6.832 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5429, allocations: 0.8504 MB / 1.429 GB, free: 5.953 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.543, allocations: 81.94 kB / 1.429 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5432, allocations: 96 kB / 1.429 GB, free: 5.781 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.5452, allocations: 1.283 MB / 1.43 GB, free: 4.395 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.5453, allocations: 0 / 1.43 GB, free: 4.395 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5454, allocations: 44 kB / 1.43 GB, free: 4.352 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.5454, allocations: 28 kB / 1.43 GB, free: 4.324 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5474, allocations: 1.116 MB / 1.431 GB, free: 3.211 MB / 1.123 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.004561/0.5519, allocations: 2.35 MB / 1.434 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5534, allocations: 0.7482 MB / 1.434 GB, free: 52 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.554, allocations: 270.8 kB / 1.435 GB, free: 15.78 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.5541, allocations: 32.56 kB / 1.435 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009566/0.555, allocations: 0.5879 MB / 1.435 GB, free: 15.12 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/0.555, allocations: 0 / 1.435 GB, free: 15.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003257/0.5583, allocations: 1.127 MB / 1.436 GB, free: 13.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.5584, allocations: 192.5 kB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.5596, allocations: 0.7552 MB / 1.437 GB, free: 12.99 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.5596, allocations: 41.7 kB / 1.437 GB, free: 12.94 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.5601, allocations: 0.5203 MB / 1.438 GB, free: 12.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.5604, allocations: 269.7 kB / 1.438 GB, free: 12.15 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.5606, allocations: 162.6 kB / 1.438 GB, free: 11.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5608, allocations: 337.9 kB / 1.439 GB, free: 11.65 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.5614, allocations: 265.8 kB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.5621, allocations: 487.6 kB / 1.439 GB, free: 10.87 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5633, allocations: 0.6033 MB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5633, allocations: 4 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002125/0.5654, allocations: 0.8608 MB / 1.441 GB, free: 9.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5655, allocations: 6.5 kB / 1.441 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5655, allocations: 4 kB / 1.441 GB, free: 9.367 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.5661, allocations: 88.8 kB / 1.441 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.5668, allocations: 155.8 kB / 1.441 GB, free: 9.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.5694, allocations: 1.516 MB / 1.442 GB, free: 7.504 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.5702, allocations: 87.62 kB / 1.443 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.5703, allocations: 35.97 kB / 1.443 GB, free: 7.383 MB / 1.139 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.0006266/0.5709, allocations: 291.4 kB / 1.443 GB, free: 7.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.5711, allocations: 107.3 kB / 1.443 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.5736, allocations: 1.071 MB / 1.444 GB, free: 5.895 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5736, allocations: 11.98 kB / 1.444 GB, free: 5.883 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5736, allocations: 0 / 1.444 GB, free: 5.883 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5736, allocations: 3.984 kB / 1.444 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5748, allocations: 0.7316 MB / 1.445 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5748, allocations: 4 kB / 1.445 GB, free: 5.113 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.5754, allocations: 147.8 kB / 1.445 GB, free: 4.969 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.5758, allocations: 64.8 kB / 1.445 GB, free: 4.902 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/0.5759, allocations: 27.97 kB / 1.445 GB, free: 4.875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.578, allocations: 1.536 MB / 1.447 GB, free: 3.234 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.578, allocations: 12.08 kB / 1.447 GB, free: 3.223 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5801, allocations: 0.9438 MB / 1.447 GB, free: 2.254 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.5806, allocations: 211 kB / 1.448 GB, free: 2.047 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5807, allocations: 19.98 kB / 1.448 GB, free: 2.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.5813, allocations: 59.94 kB / 1.448 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.5815, allocations: 68.86 kB / 1.448 GB, free: 1.902 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.5816, allocations: 35.98 kB / 1.448 GB, free: 1.867 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007391/0.5823, allocations: 0.5302 MB / 1.448 GB, free: 1.344 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5823, allocations: 0 / 1.448 GB, free: 1.344 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001063/0.5834, allocations: 362.9 kB / 1.449 GB, free: 0.9883 MB / 1.139 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.002169/0.5855, allocations: 0.6432 MB / 1.449 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.5875, allocations: 0.7962 MB / 1.45 GB, free: 15.74 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5875, allocations: 0 / 1.45 GB, free: 15.74 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.5886, allocations: 496.2 kB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.5903, allocations: 459.4 kB / 1.451 GB, free: 14.83 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.5945, allocations: 1.967 MB / 1.453 GB, free: 12.82 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.5951, allocations: 0.5192 MB / 1.453 GB, free: 12.27 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009593/0.596, allocations: 275.3 kB / 1.454 GB, free: 12 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.5963, allocations: 115.4 kB / 1.454 GB, free: 11.89 MB / 1.154 GB Notification: Performance of SimCode: time 1.543e-06/0.5963, allocations: 0 / 1.454 GB, free: 11.89 MB / 1.154 GB Notification: Performance of Templates: time 0.03518/0.6315, allocations: 18.91 MB / 1.472 GB, free: 9.258 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.592649398371577]