Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 183.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.506/2.506, allocations: 469.4 MB / 0.7426 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.52 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3238, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007951/0.3318, allocations: 5.608 MB / 1.07 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7294/1.061, allocations: 150.9 MB / 1.217 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/1.062, allocations: 27.16 kB / 1.217 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/1.063, allocations: 355.6 kB / 1.217 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/1.065, allocations: 0.5723 MB / 1.218 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.068, allocations: 0.8645 MB / 1.219 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001813/1.069, allocations: 1.55 MB / 1.22 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/1.07, allocations: 0.764 MB / 1.221 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/1.071, allocations: 0.5367 MB / 1.222 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/1.072, allocations: 0.5706 MB / 1.222 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/1.072, allocations: 132.8 kB / 1.222 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/1.073, allocations: 473.4 kB / 1.223 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/1.073, allocations: 330.7 kB / 1.223 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005784/1.074, allocations: 0.6619 MB / 1.224 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/1.076, allocations: 1.867 MB / 1.226 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.076, allocations: 0 / 1.226 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/1.076, allocations: 0 / 1.226 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.309e-05/1.076, allocations: 0 / 1.226 GB, free: 2.504 MB / 0.9356 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.002701/1.079, allocations: 1.689 MB / 1.227 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.079, allocations: 13.66 kB / 1.227 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/1.08, allocations: 209.5 kB / 1.227 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.081, allocations: 0.888 MB / 1.228 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/1.081, allocations: 74.47 kB / 1.228 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.081, allocations: 97.41 kB / 1.228 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/1.083, allocations: 1.037 MB / 1.229 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/1.083, allocations: 0 / 1.229 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/1.083, allocations: 46.73 kB / 1.229 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/1.083, allocations: 22.88 kB / 1.229 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.085, allocations: 1.172 MB / 1.231 GB, free: 14.52 MB / 0.9512 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.004212/1.089, allocations: 3.039 MB / 1.234 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/1.09, allocations: 0.7905 MB / 1.234 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/1.091, allocations: 303.2 kB / 1.235 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/1.091, allocations: 32.55 kB / 1.235 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008484/1.092, allocations: 494.8 kB / 1.235 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/1.092, allocations: 4 kB / 1.235 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78): time 0.003181/1.095, allocations: 1.205 MB / 1.236 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.095, allocations: 188.6 kB / 1.237 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.096, allocations: 0.8029 MB / 1.237 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/1.096, allocations: 41.7 kB / 1.237 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/1.097, allocations: 0.504 MB / 1.238 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/1.097, allocations: 256.3 kB / 1.238 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/1.097, allocations: 162.5 kB / 1.238 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.097, allocations: 337.9 kB / 1.239 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/1.098, allocations: 269.9 kB / 1.239 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/1.099, allocations: 355.1 kB / 1.239 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/1.1, allocations: 0.6099 MB / 1.24 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.1, allocations: 0 / 1.24 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001942/1.102, allocations: 0.8719 MB / 1.241 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.102, allocations: 4 kB / 1.241 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.102, allocations: 0 / 1.241 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/1.102, allocations: 80.88 kB / 1.241 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/1.103, allocations: 159.8 kB / 1.241 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/1.105, allocations: 1.642 MB / 1.242 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/1.106, allocations: 96.39 kB / 1.243 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/1.106, allocations: 35.97 kB / 1.243 GB, free: 1.859 MB / 0.9512 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.0004746/1.106, allocations: 295.5 kB / 1.243 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/1.106, allocations: 104.5 kB / 1.243 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.109, allocations: 1.076 MB / 1.244 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.109, allocations: 8 kB / 1.244 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.109, allocations: 0 / 1.244 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.109, allocations: 7.922 kB / 1.244 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.11, allocations: 1.005 MB / 1.245 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.11, allocations: 8 kB / 1.245 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/1.111, allocations: 139.8 kB / 1.245 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/1.111, allocations: 72.78 kB / 1.245 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/1.111, allocations: 23.98 kB / 1.245 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/1.113, allocations: 1.682 MB / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.113, allocations: 0 / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/1.115, allocations: 0.9421 MB / 1.248 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/1.115, allocations: 287.5 kB / 1.248 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.116, allocations: 20 kB / 1.248 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/1.116, allocations: 67.92 kB / 1.248 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.116, allocations: 72.78 kB / 1.248 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/1.117, allocations: 39.97 kB / 1.248 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000779/1.117, allocations: 0.5542 MB / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.117, allocations: 0 / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009222/1.118, allocations: 347 kB / 1.249 GB, free: 10.87 MB / 0.9669 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.001432/1.12, allocations: 0.6034 MB / 1.25 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0024/1.122, allocations: 1.011 MB / 1.251 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.122, allocations: 0 / 1.251 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009656/1.123, allocations: 0.5199 MB / 1.251 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/1.125, allocations: 471.1 kB / 1.252 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/1.129, allocations: 1.986 MB / 1.254 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/1.13, allocations: 1.098 MB / 1.255 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.13, allocations: 123.4 kB / 1.255 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of SimCode: time 2.344e-06/1.13, allocations: 4 kB / 1.255 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of Templates: time 0.03347/1.164, allocations: 22.26 MB / 1.277 GB, free: 14.96 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches