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.001581/0.001581, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002277/0.002277, allocations: 188.8 kB / 22.23 MB, free: 5.156 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.01 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.774/2.774, allocations: 476.7 MB / 0.7646 GB, free: 9.859 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.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.002022/0.002022, allocations: 70.66 kB / 1.11 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 168.8 MB / 1.274 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008382/0.3671, allocations: 5.673 MB / 1.28 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.5423, allocations: 151.5 MB / 1.428 GB, free: 13.14 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.5434, allocations: 35.69 kB / 1.428 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008505/0.5443, allocations: 369.4 kB / 1.428 GB, free: 12.74 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.546, allocations: 0.5664 MB / 1.429 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.5479, allocations: 0.8941 MB / 1.43 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.5498, allocations: 1.554 MB / 1.431 GB, free: 9.727 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.5506, allocations: 0.5107 MB / 1.432 GB, free: 9.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.5513, allocations: 0.5565 MB / 1.432 GB, free: 8.621 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.552, allocations: 0.5744 MB / 1.433 GB, free: 8.047 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.5522, allocations: 132 kB / 1.433 GB, free: 7.918 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.5531, allocations: 0.4918 MB / 1.433 GB, free: 7.426 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.5534, allocations: 342.9 kB / 1.434 GB, free: 7.09 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.554, allocations: 0.6566 MB / 1.434 GB, free: 6.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.5562, allocations: 1.926 MB / 1.436 GB, free: 4.496 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5562, allocations: 0 / 1.436 GB, free: 4.496 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5562, allocations: 0 / 1.436 GB, free: 4.496 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.5562, allocations: 0 / 1.436 GB, free: 4.496 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.002718/0.5589, allocations: 1.652 MB / 1.438 GB, free: 2.805 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5589, allocations: 12.02 kB / 1.438 GB, free: 2.793 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.5598, allocations: 227.8 kB / 1.438 GB, free: 2.57 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5612, allocations: 0.8271 MB / 1.439 GB, free: 1.715 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.5613, allocations: 74 kB / 1.439 GB, free: 1.645 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5614, allocations: 99.94 kB / 1.439 GB, free: 1.547 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5631, allocations: 1.032 MB / 1.44 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5632, allocations: 0 / 1.44 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.5632, allocations: 43.94 kB / 1.44 GB, free: 440 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.5633, allocations: 24 kB / 1.44 GB, free: 416 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.5651, allocations: 1.171 MB / 1.441 GB, free: 15.24 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.004562/0.5697, allocations: 2.955 MB / 1.444 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5712, allocations: 0.7532 MB / 1.445 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.5717, allocations: 274.7 kB / 1.445 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.5718, allocations: 28.61 kB / 1.445 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008852/0.5727, allocations: 492.8 kB / 1.446 GB, free: 10.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.5727, allocations: 0 / 1.446 GB, free: 10.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003258/0.5759, allocations: 1.142 MB / 1.447 GB, free: 9.457 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.5761, allocations: 188.6 kB / 1.447 GB, free: 9.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5772, allocations: 0.7874 MB / 1.448 GB, free: 8.418 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.5772, allocations: 41.7 kB / 1.448 GB, free: 8.371 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.5777, allocations: 0.5164 MB / 1.448 GB, free: 7.848 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.578, allocations: 269.8 kB / 1.448 GB, free: 7.582 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.5782, allocations: 162.5 kB / 1.449 GB, free: 7.418 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5784, allocations: 337.9 kB / 1.449 GB, free: 7.082 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.5789, allocations: 273.8 kB / 1.449 GB, free: 6.816 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.5795, allocations: 363 kB / 1.45 GB, free: 6.445 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5807, allocations: 0.5956 MB / 1.45 GB, free: 5.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.5807, allocations: 4 kB / 1.45 GB, free: 5.836 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002039/0.5827, allocations: 0.8647 MB / 1.451 GB, free: 4.957 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5827, allocations: 8 kB / 1.451 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5828, allocations: 0 / 1.451 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.5834, allocations: 88.8 kB / 1.451 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.584, allocations: 159.7 kB / 1.451 GB, free: 4.703 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.5865, allocations: 1.549 MB / 1.453 GB, free: 3.039 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.5872, allocations: 91.61 kB / 1.453 GB, free: 2.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.5873, allocations: 39.97 kB / 1.453 GB, free: 2.91 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.0005194/0.5878, allocations: 295.3 kB / 1.453 GB, free: 2.613 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.588, allocations: 107.3 kB / 1.453 GB, free: 2.508 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.5903, allocations: 1.078 MB / 1.454 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5903, allocations: 8 kB / 1.454 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5903, allocations: 3.938 kB / 1.454 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5903, allocations: 3.984 kB / 1.454 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.5916, allocations: 0.9808 MB / 1.455 GB, free: 380 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5916, allocations: 0 / 1.455 GB, free: 380 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.5921, allocations: 143.8 kB / 1.455 GB, free: 236 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.5926, allocations: 76.72 kB / 1.455 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.5926, allocations: 31.97 kB / 1.456 GB, free: 124 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.5947, allocations: 1.555 MB / 1.457 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5947, allocations: 3.984 kB / 1.457 GB, free: 14.44 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.5966, allocations: 0.9516 MB / 1.458 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.5971, allocations: 214.9 kB / 1.458 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.5972, allocations: 16 kB / 1.458 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.5978, allocations: 67.86 kB / 1.458 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5979, allocations: 72.81 kB / 1.458 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.598, allocations: 40.03 kB / 1.458 GB, free: 13.07 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007876/0.5988, allocations: 0.562 MB / 1.459 GB, free: 12.49 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5988, allocations: 0 / 1.459 GB, free: 12.49 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008736/0.5997, allocations: 351 kB / 1.459 GB, free: 12.15 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.001893/0.6016, allocations: 0.6028 MB / 1.46 GB, free: 11.72 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.6032, allocations: 0.796 MB / 1.461 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6033, allocations: 0 / 1.461 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.6042, allocations: 496.4 kB / 1.461 GB, free: 10.41 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6057, allocations: 472.3 kB / 1.462 GB, free: 9.98 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.6095, allocations: 1.958 MB / 1.463 GB, free: 7.988 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/0.6104, allocations: 1.1 MB / 1.465 GB, free: 6.863 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009558/0.6114, allocations: 279.7 kB / 1.465 GB, free: 6.586 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.6117, allocations: 115.3 kB / 1.465 GB, free: 6.473 MB / 1.17 GB Notification: Performance of SimCode: time 6.12e-07/0.6117, allocations: 0 / 1.465 GB, free: 6.473 MB / 1.17 GB Notification: Performance of Templates: time 0.03177/0.6435, allocations: 18.1 MB / 1.483 GB, free: 4.551 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 -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.431951141916215]