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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008599/0.008599, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001869/0.001869, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 72.03 kB / 1.018 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8672, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007977/0.8752, allocations: 5.631 MB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1684/1.044, allocations: 150.9 MB / 1.319 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/1.045, allocations: 23.88 kB / 1.319 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/1.046, allocations: 357.3 kB / 1.32 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/1.048, allocations: 0.5672 MB / 1.32 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/1.05, allocations: 0.8651 MB / 1.321 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00199/1.052, allocations: 1.566 MB / 1.323 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.053, allocations: 0.7606 MB / 1.323 GB, free: 2.527 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/1.054, allocations: 0.5293 MB / 1.324 GB, free: 1.996 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/1.055, allocations: 0.5792 MB / 1.325 GB, free: 1.414 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/1.055, allocations: 132 kB / 1.325 GB, free: 1.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/1.056, allocations: 499.6 kB / 1.325 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/1.056, allocations: 342.8 kB / 1.325 GB, free: 472 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007172/1.057, allocations: 0.6567 MB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/1.06, allocations: 1.933 MB / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.06, allocations: 0 / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/1.06, allocations: 0 / 1.328 GB, free: 13.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.356e-05/1.06, allocations: 3.938 kB / 1.328 GB, free: 13.86 MB / 1.061 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.00419/1.064, allocations: 1.723 MB / 1.33 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.064, allocations: 16.61 kB / 1.33 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.065, allocations: 215.9 kB / 1.33 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/1.067, allocations: 0.9225 MB / 1.331 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/1.067, allocations: 74 kB / 1.331 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/1.067, allocations: 100 kB / 1.331 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.069, allocations: 1.032 MB / 1.332 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.069, allocations: 0 / 1.332 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/1.069, allocations: 40 kB / 1.332 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/1.069, allocations: 24 kB / 1.332 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.071, allocations: 1.167 MB / 1.333 GB, free: 8.418 MB / 1.061 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.004777/1.076, allocations: 3.026 MB / 1.336 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.078, allocations: 0.8041 MB / 1.337 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/1.078, allocations: 298.7 kB / 1.337 GB, free: 4.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/1.078, allocations: 20.62 kB / 1.337 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008555/1.079, allocations: 0.4889 MB / 1.338 GB, free: 3.641 MB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 2.184e-06/1.079, allocations: 0 / 1.338 GB, free: 3.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.003212/1.082, allocations: 1.217 MB / 1.339 GB, free: 2.395 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.082, allocations: 188.6 kB / 1.339 GB, free: 2.168 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.084, allocations: 0.7913 MB / 1.34 GB, free: 1.352 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/1.084, allocations: 41.7 kB / 1.34 GB, free: 1.305 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/1.084, allocations: 0.5164 MB / 1.34 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/1.084, allocations: 261.8 kB / 1.341 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/1.085, allocations: 166.5 kB / 1.341 GB, free: 364 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.085, allocations: 341.9 kB / 1.341 GB, free: 16 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/1.085, allocations: 261.9 kB / 1.341 GB, free: 15.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/1.086, allocations: 363.1 kB / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.087, allocations: 0.5994 MB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/1.087, allocations: 0 / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002065/1.089, allocations: 0.8686 MB / 1.343 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.089, allocations: 8 kB / 1.343 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.089, allocations: 4.156 kB / 1.343 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/1.09, allocations: 84.72 kB / 1.343 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/1.091, allocations: 163.8 kB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/1.093, allocations: 1.647 MB / 1.345 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/1.094, allocations: 91.5 kB / 1.345 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/1.094, allocations: 39.97 kB / 1.345 GB, free: 11.72 MB / 1.076 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.0005144/1.094, allocations: 291.9 kB / 1.345 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/1.094, allocations: 111.3 kB / 1.346 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/1.097, allocations: 1.074 MB / 1.347 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/1.097, allocations: 8 kB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.097, allocations: 3.938 kB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.097, allocations: 3.984 kB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.098, allocations: 1.009 MB / 1.348 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.098, allocations: 4 kB / 1.348 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/1.099, allocations: 139.8 kB / 1.348 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/1.099, allocations: 76.78 kB / 1.348 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/1.099, allocations: 23.98 kB / 1.348 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.102, allocations: 1.678 MB / 1.349 GB, free: 7.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.102, allocations: 4.031 kB / 1.349 GB, free: 7.086 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/1.104, allocations: 0.9516 MB / 1.35 GB, free: 6.117 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/1.104, allocations: 288.1 kB / 1.351 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.104, allocations: 16 kB / 1.351 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/1.105, allocations: 67.92 kB / 1.351 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.105, allocations: 72.84 kB / 1.351 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/1.105, allocations: 31.97 kB / 1.351 GB, free: 5.629 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007465/1.106, allocations: 0.5581 MB / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.106, allocations: 0 / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008912/1.107, allocations: 347 kB / 1.352 GB, free: 4.719 MB / 1.076 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.001464/1.108, allocations: 0.614 MB / 1.352 GB, free: 4.266 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.11, allocations: 0.8117 MB / 1.353 GB, free: 3.445 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.11, allocations: 4.188 kB / 1.353 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/1.111, allocations: 0.5236 MB / 1.354 GB, free: 2.906 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.113, allocations: 472.8 kB / 1.354 GB, free: 2.469 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/1.116, allocations: 1.945 MB / 1.356 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/1.117, allocations: 1.099 MB / 1.357 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008846/1.118, allocations: 287.7 kB / 1.357 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/1.118, allocations: 111.4 kB / 1.357 GB, free: 14.98 MB / 1.092 GB Notification: Performance of SimCode: time 5.11e-07/1.118, allocations: 4 kB / 1.357 GB, free: 14.97 MB / 1.092 GB Notification: Performance of Templates: time 0.03001/1.148, allocations: 17.54 MB / 1.375 GB, free: 13.57 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) 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) Reference file matches