Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001451/0.001451, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00142/0.00142, allocations: 187 kB / 22.22 MB, free: 5.105 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.441/1.441, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.88 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7728, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008528/0.7813, allocations: 5.693 MB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1916/0.9729, allocations: 151.5 MB / 1.372 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.9742, allocations: 35.69 kB / 1.372 GB, free: 9.469 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.9753, allocations: 373.3 kB / 1.372 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.9777, allocations: 0.5706 MB / 1.373 GB, free: 8.531 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.9801, allocations: 0.8883 MB / 1.374 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.9825, allocations: 1.558 MB / 1.375 GB, free: 6.082 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.9836, allocations: 0.5067 MB / 1.376 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.9847, allocations: 0.5527 MB / 1.376 GB, free: 4.984 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.9856, allocations: 0.5676 MB / 1.377 GB, free: 4.414 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.9858, allocations: 132 kB / 1.377 GB, free: 4.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.987, allocations: 0.5035 MB / 1.377 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.9873, allocations: 338.8 kB / 1.378 GB, free: 3.449 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.988, allocations: 0.6566 MB / 1.378 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.9907, allocations: 1.925 MB / 1.38 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9907, allocations: 7.938 kB / 1.38 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.761e-06/0.9907, allocations: 3.984 kB / 1.38 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.9907, allocations: 0 / 1.38 GB, free: 0.8477 MB / 1.076 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.003446/0.9942, allocations: 1.715 MB / 1.382 GB, free: 15.08 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.9942, allocations: 8.031 kB / 1.382 GB, free: 15.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.9953, allocations: 223.9 kB / 1.382 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.997, allocations: 0.9226 MB / 1.383 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.9971, allocations: 74 kB / 1.383 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.9972, allocations: 96 kB / 1.383 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.9991, allocations: 1.028 MB / 1.384 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.9992, allocations: 3.984 kB / 1.384 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/0.9993, allocations: 48 kB / 1.384 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.9993, allocations: 27.94 kB / 1.384 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/1.001, allocations: 1.171 MB / 1.386 GB, free: 11.4 MB / 1.092 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.005111/1.007, allocations: 3.019 MB / 1.388 GB, free: 8.266 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/1.008, allocations: 0.7571 MB / 1.389 GB, free: 7.496 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/1.009, allocations: 274.7 kB / 1.389 GB, free: 7.227 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.244e-05/1.009, allocations: 28.61 kB / 1.389 GB, free: 7.199 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/1.01, allocations: 496.7 kB / 1.39 GB, free: 6.695 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/1.01, allocations: 0 / 1.39 GB, free: 6.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003405/1.013, allocations: 1.214 MB / 1.391 GB, free: 5.457 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/1.013, allocations: 188.6 kB / 1.391 GB, free: 5.227 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.014, allocations: 0.7952 MB / 1.392 GB, free: 4.406 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/1.014, allocations: 41.7 kB / 1.392 GB, free: 4.359 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/1.015, allocations: 0.5164 MB / 1.393 GB, free: 3.836 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.015, allocations: 257.8 kB / 1.393 GB, free: 3.582 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/1.016, allocations: 166.5 kB / 1.393 GB, free: 3.41 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.016, allocations: 345.9 kB / 1.393 GB, free: 3.066 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/1.016, allocations: 261.9 kB / 1.394 GB, free: 2.812 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/1.017, allocations: 359.1 kB / 1.394 GB, free: 2.445 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.018, allocations: 0.6033 MB / 1.395 GB, free: 1.832 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.018, allocations: 0 / 1.395 GB, free: 1.832 MB / 1.092 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002089/1.02, allocations: 0.8686 MB / 1.395 GB, free: 0.957 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.02, allocations: 4 kB / 1.395 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.02, allocations: 3.938 kB / 1.395 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/1.021, allocations: 84.81 kB / 1.396 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/1.022, allocations: 163.8 kB / 1.396 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/1.024, allocations: 1.642 MB / 1.397 GB, free: 14.91 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/1.025, allocations: 97.94 kB / 1.397 GB, free: 14.81 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-05/1.025, allocations: 39.97 kB / 1.397 GB, free: 14.77 MB / 1.108 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.0005563/1.025, allocations: 290.9 kB / 1.398 GB, free: 14.48 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.026, allocations: 107.5 kB / 1.398 GB, free: 14.38 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.028, allocations: 1.078 MB / 1.399 GB, free: 13.29 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.028, allocations: 8 kB / 1.399 GB, free: 13.28 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.028, allocations: 3.938 kB / 1.399 GB, free: 13.27 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.028, allocations: 7.984 kB / 1.399 GB, free: 13.27 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.029, allocations: 1.001 MB / 1.4 GB, free: 12.22 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.029, allocations: 0 / 1.4 GB, free: 12.22 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/1.03, allocations: 147.7 kB / 1.4 GB, free: 12.07 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.031, allocations: 76.78 kB / 1.4 GB, free: 12 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/1.031, allocations: 23.98 kB / 1.4 GB, free: 11.97 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/1.033, allocations: 1.678 MB / 1.402 GB, free: 10.15 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.033, allocations: 3.984 kB / 1.402 GB, free: 10.14 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.035, allocations: 0.9438 MB / 1.403 GB, free: 9.184 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/1.035, allocations: 296.1 kB / 1.403 GB, free: 8.875 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.036, allocations: 16 kB / 1.403 GB, free: 8.859 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/1.036, allocations: 65.47 kB / 1.403 GB, free: 8.797 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.036, allocations: 76.8 kB / 1.403 GB, free: 8.723 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/1.036, allocations: 35.98 kB / 1.403 GB, free: 8.688 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0008076/1.037, allocations: 0.5503 MB / 1.404 GB, free: 8.125 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.1e-07/1.037, allocations: 4 kB / 1.404 GB, free: 8.121 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0009492/1.038, allocations: 355 kB / 1.404 GB, free: 7.773 MB / 1.108 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.00198/1.04, allocations: 0.6056 MB / 1.405 GB, free: 7.332 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.042, allocations: 0.7999 MB / 1.405 GB, free: 6.516 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.042, allocations: 0 / 1.405 GB, free: 6.516 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0009835/1.043, allocations: 0.4887 MB / 1.406 GB, free: 6.016 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.045, allocations: 467.4 kB / 1.406 GB, free: 5.59 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/1.048, allocations: 1.954 MB / 1.408 GB, free: 3.605 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008541/1.049, allocations: 1.102 MB / 1.409 GB, free: 2.473 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0008696/1.05, allocations: 279.7 kB / 1.41 GB, free: 2.195 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/1.05, allocations: 115.4 kB / 1.41 GB, free: 2.082 MB / 1.108 GB Notification: Performance of SimCode: time 1.252e-06/1.05, allocations: 0 / 1.41 GB, free: 2.082 MB / 1.108 GB Notification: Performance of Templates: time 0.0348/1.085, allocations: 18.08 MB / 1.427 GB, free: 140 kB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.693044137209654]