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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 192.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] 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=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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.88 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8575, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007916/0.8654, allocations: 5.671 MB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1872/1.053, allocations: 151.5 MB / 1.427 GB, free: 6.805 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/1.054, allocations: 19.88 kB / 1.428 GB, free: 6.785 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/1.054, allocations: 361.2 kB / 1.428 GB, free: 6.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/1.056, allocations: 0.5683 MB / 1.428 GB, free: 5.863 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/1.058, allocations: 0.9036 MB / 1.429 GB, free: 4.965 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002098/1.061, allocations: 1.554 MB / 1.431 GB, free: 3.406 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009273/1.061, allocations: 0.5022 MB / 1.431 GB, free: 2.867 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008347/1.062, allocations: 0.5448 MB / 1.432 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007216/1.063, allocations: 0.5715 MB / 1.432 GB, free: 1.746 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/1.063, allocations: 132 kB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009799/1.064, allocations: 499.6 kB / 1.433 GB, free: 1.129 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/1.064, allocations: 338.8 kB / 1.433 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/1.065, allocations: 0.6527 MB / 1.434 GB, free: 144 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/1.068, allocations: 1.93 MB / 1.436 GB, free: 14.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.068, allocations: 0 / 1.436 GB, free: 14.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.535e-06/1.068, allocations: 0 / 1.436 GB, free: 14.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.699e-05/1.068, allocations: 0 / 1.436 GB, free: 14.2 MB / 1.139 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.00369/1.071, allocations: 1.731 MB / 1.438 GB, free: 12.41 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.071, allocations: 8.031 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.072, allocations: 223.8 kB / 1.438 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.074, allocations: 0.9109 MB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/1.074, allocations: 74 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.074, allocations: 99.98 kB / 1.439 GB, free: 11.06 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/1.076, allocations: 1.035 MB / 1.44 GB, free: 9.984 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.076, allocations: 0 / 1.44 GB, free: 9.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.076, allocations: 40 kB / 1.44 GB, free: 9.945 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/1.076, allocations: 24 kB / 1.44 GB, free: 9.922 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.078, allocations: 1.167 MB / 1.441 GB, free: 8.758 MB / 1.139 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.004982/1.083, allocations: 3.021 MB / 1.444 GB, free: 5.617 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.085, allocations: 0.7572 MB / 1.445 GB, free: 4.855 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/1.085, allocations: 270.7 kB / 1.445 GB, free: 4.586 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.916e-05/1.085, allocations: 32.61 kB / 1.445 GB, free: 4.555 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008939/1.086, allocations: 496.7 kB / 1.445 GB, free: 4.051 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.505e-06/1.086, allocations: 0 / 1.445 GB, free: 4.051 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003405/1.09, allocations: 1.21 MB / 1.447 GB, free: 2.816 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.09, allocations: 192.6 kB / 1.447 GB, free: 2.586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.091, allocations: 0.7912 MB / 1.448 GB, free: 1.77 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/1.091, allocations: 41.7 kB / 1.448 GB, free: 1.723 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/1.092, allocations: 0.5203 MB / 1.448 GB, free: 1.195 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.092, allocations: 261.8 kB / 1.448 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/1.092, allocations: 162.5 kB / 1.449 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.092, allocations: 337.9 kB / 1.449 GB, free: 448 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/1.093, allocations: 269.8 kB / 1.449 GB, free: 180 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.094, allocations: 367 kB / 1.449 GB, free: 15.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.095, allocations: 0.5994 MB / 1.45 GB, free: 15.19 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.095, allocations: 0 / 1.45 GB, free: 15.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002118/1.097, allocations: 0.8648 MB / 1.451 GB, free: 14.32 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.097, allocations: 12 kB / 1.451 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.097, allocations: 0 / 1.451 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/1.098, allocations: 88.7 kB / 1.451 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/1.098, allocations: 151.8 kB / 1.451 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/1.101, allocations: 1.65 MB / 1.453 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/1.102, allocations: 91.47 kB / 1.453 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/1.102, allocations: 31.97 kB / 1.453 GB, free: 12.15 MB / 1.154 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.0006136/1.102, allocations: 303.3 kB / 1.453 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/1.103, allocations: 107.3 kB / 1.453 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/1.105, allocations: 1.07 MB / 1.454 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.105, allocations: 8 kB / 1.454 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.105, allocations: 11.88 kB / 1.454 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.105, allocations: 3.984 kB / 1.454 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.107, allocations: 1.001 MB / 1.455 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.107, allocations: 0 / 1.455 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/1.107, allocations: 139.8 kB / 1.455 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/1.108, allocations: 80.75 kB / 1.456 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/1.108, allocations: 23.98 kB / 1.456 GB, free: 9.344 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/1.11, allocations: 1.674 MB / 1.457 GB, free: 7.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.11, allocations: 0 / 1.457 GB, free: 7.527 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.112, allocations: 0.9516 MB / 1.458 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/1.113, allocations: 292 kB / 1.458 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.113, allocations: 20 kB / 1.458 GB, free: 6.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/1.114, allocations: 69.95 kB / 1.458 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.114, allocations: 68.84 kB / 1.459 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/1.114, allocations: 35.98 kB / 1.459 GB, free: 6.059 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009395/1.115, allocations: 0.5503 MB / 1.459 GB, free: 5.496 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.115, allocations: 0 / 1.459 GB, free: 5.496 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001175/1.116, allocations: 359 kB / 1.459 GB, free: 5.145 MB / 1.154 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.002144/1.118, allocations: 0.6097 MB / 1.46 GB, free: 4.723 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.12, allocations: 0.8037 MB / 1.461 GB, free: 3.906 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.12, allocations: 4.188 kB / 1.461 GB, free: 3.902 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.121, allocations: 488.2 kB / 1.461 GB, free: 3.41 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.123, allocations: 473.9 kB / 1.462 GB, free: 2.977 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/1.127, allocations: 1.955 MB / 1.464 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/1.128, allocations: 1.098 MB / 1.465 GB, free: 15.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009604/1.129, allocations: 287.6 kB / 1.465 GB, free: 15.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/1.129, allocations: 119.4 kB / 1.465 GB, free: 15.46 MB / 1.17 GB Notification: Performance of SimCode: time 8.52e-07/1.129, allocations: 0 / 1.465 GB, free: 15.46 MB / 1.17 GB Notification: Performance of Templates: time 0.03559/1.165, allocations: 17.86 MB / 1.483 GB, free: 13.76 MB / 1.186 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.768280680291355]