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.001708/0.001708, allocations: 115.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.00204/0.00204, allocations: 193 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.454/1.454, 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.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002063/0.002063, allocations: 68.52 kB / 1.109 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3989, allocations: 168.7 MB / 1.274 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008619/0.4075, allocations: 5.672 MB / 1.28 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2097/0.6173, allocations: 151.5 MB / 1.427 GB, free: 13.52 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6185, allocations: 27.81 kB / 1.428 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.6199, allocations: 365.3 kB / 1.428 GB, free: 13.14 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.6225, allocations: 0.5734 MB / 1.428 GB, free: 12.56 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.6257, allocations: 0.8895 MB / 1.429 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003235/0.629, allocations: 1.55 MB / 1.431 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.6303, allocations: 0.5099 MB / 1.431 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.6313, allocations: 0.541 MB / 1.432 GB, free: 9.039 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007544/0.6321, allocations: 0.5715 MB / 1.432 GB, free: 8.465 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.6323, allocations: 132 kB / 1.433 GB, free: 8.336 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.6333, allocations: 499.6 kB / 1.433 GB, free: 7.848 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.6337, allocations: 338.8 kB / 1.433 GB, free: 7.516 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006671/0.6344, allocations: 0.6566 MB / 1.434 GB, free: 6.855 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.6373, allocations: 1.926 MB / 1.436 GB, free: 4.922 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6373, allocations: 0 / 1.436 GB, free: 4.922 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6373, allocations: 0 / 1.436 GB, free: 4.922 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.6374, allocations: 4 kB / 1.436 GB, free: 4.918 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.003186/0.6405, allocations: 1.723 MB / 1.438 GB, free: 3.133 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6406, allocations: 12.03 kB / 1.438 GB, free: 3.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6416, allocations: 223.8 kB / 1.438 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.6433, allocations: 0.9148 MB / 1.439 GB, free: 1.945 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/0.6433, allocations: 74 kB / 1.439 GB, free: 1.875 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.6435, allocations: 96 kB / 1.439 GB, free: 1.781 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.6453, allocations: 1.032 MB / 1.44 GB, free: 0.707 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.6454, allocations: 3.938 kB / 1.44 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6455, allocations: 47.98 kB / 1.44 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.6455, allocations: 24 kB / 1.44 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.6477, allocations: 1.163 MB / 1.441 GB, free: 15.47 MB / 1.154 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.005265/0.6529, allocations: 3.017 MB / 1.444 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.6545, allocations: 0.7495 MB / 1.445 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.6551, allocations: 274.7 kB / 1.445 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.728e-05/0.6552, allocations: 32.61 kB / 1.445 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009389/0.6561, allocations: 488.7 kB / 1.445 GB, free: 10.78 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.6561, allocations: 4 kB / 1.445 GB, free: 10.78 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003523/0.6596, allocations: 1.214 MB / 1.447 GB, free: 9.539 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.6598, allocations: 188.6 kB / 1.447 GB, free: 9.312 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.661, allocations: 0.7951 MB / 1.448 GB, free: 8.492 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.661, allocations: 45.7 kB / 1.448 GB, free: 8.441 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.6615, allocations: 0.5165 MB / 1.448 GB, free: 7.918 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.6618, allocations: 265.7 kB / 1.448 GB, free: 7.656 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.6621, allocations: 162.5 kB / 1.449 GB, free: 7.492 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6622, allocations: 337.9 kB / 1.449 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.6628, allocations: 261.9 kB / 1.449 GB, free: 6.902 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.6635, allocations: 371 kB / 1.449 GB, free: 6.523 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.6647, allocations: 0.5994 MB / 1.45 GB, free: 5.914 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6647, allocations: 8.062 kB / 1.45 GB, free: 5.906 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002129/0.6668, allocations: 0.8608 MB / 1.451 GB, free: 5.035 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6668, allocations: 8 kB / 1.451 GB, free: 5.027 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6668, allocations: 0 / 1.451 GB, free: 5.027 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.6675, allocations: 88.8 kB / 1.451 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.6681, allocations: 159.7 kB / 1.451 GB, free: 4.781 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.6705, allocations: 1.636 MB / 1.453 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/0.6713, allocations: 91.47 kB / 1.453 GB, free: 2.914 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.6714, allocations: 39.97 kB / 1.453 GB, free: 2.875 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.0005766/0.672, allocations: 299.6 kB / 1.453 GB, free: 2.574 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.6722, allocations: 107.3 kB / 1.453 GB, free: 2.469 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.6747, allocations: 1.07 MB / 1.454 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6747, allocations: 12 kB / 1.454 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6747, allocations: 3.938 kB / 1.454 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6747, allocations: 3.984 kB / 1.454 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6761, allocations: 1.009 MB / 1.455 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6761, allocations: 0 / 1.455 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.6767, allocations: 139.8 kB / 1.455 GB, free: 176 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.6772, allocations: 76.72 kB / 1.456 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.6772, allocations: 27.92 kB / 1.456 GB, free: 68 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.6795, allocations: 1.678 MB / 1.457 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6795, allocations: 0 / 1.457 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.6816, allocations: 0.9516 MB / 1.458 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.6821, allocations: 288.1 kB / 1.458 GB, free: 12.97 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6822, allocations: 23.98 kB / 1.458 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.6829, allocations: 59.94 kB / 1.458 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.683, allocations: 72.84 kB / 1.459 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.6831, allocations: 35.97 kB / 1.459 GB, free: 12.78 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000803/0.6839, allocations: 0.5581 MB / 1.459 GB, free: 12.21 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6839, allocations: 0 / 1.459 GB, free: 12.21 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008986/0.6848, allocations: 355 kB / 1.459 GB, free: 11.86 MB / 1.17 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.00197/0.6868, allocations: 0.6051 MB / 1.46 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.6886, allocations: 0.8078 MB / 1.461 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6886, allocations: 0 / 1.461 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.6896, allocations: 488.3 kB / 1.461 GB, free: 10.13 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6913, allocations: 464.3 kB / 1.462 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.6949, allocations: 1.957 MB / 1.464 GB, free: 7.715 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.6957, allocations: 1.102 MB / 1.465 GB, free: 6.582 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008461/0.6965, allocations: 283.6 kB / 1.465 GB, free: 6.301 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.6968, allocations: 115.4 kB / 1.465 GB, free: 6.188 MB / 1.17 GB Notification: Performance of SimCode: time 6.82e-07/0.6968, allocations: 0 / 1.465 GB, free: 6.188 MB / 1.17 GB Notification: Performance of Templates: time 0.03447/0.7312, allocations: 17.87 MB / 1.483 GB, free: 4.488 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 gbode -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.84158444777131]