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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001256/0.001256, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.59/2.59, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.03 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7473, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007538/0.7549, allocations: 5.612 MB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.916, allocations: 148.6 MB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.9173, allocations: 27.81 kB / 1.167 GB, free: 8.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.9184, allocations: 294.1 kB / 1.167 GB, free: 7.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.9204, allocations: 485.3 kB / 1.168 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9225, allocations: 0.7645 MB / 1.169 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.9244, allocations: 1.449 MB / 1.17 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9255, allocations: 0.7433 MB / 1.171 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.9263, allocations: 477.9 kB / 1.171 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.927, allocations: 0.5324 MB / 1.172 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.9272, allocations: 64 kB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008877/0.9281, allocations: 407.7 kB / 1.172 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.9284, allocations: 270.8 kB / 1.173 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.929, allocations: 0.598 MB / 1.173 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.9311, allocations: 1.803 MB / 1.175 GB, free: 220 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9311, allocations: 0 / 1.175 GB, free: 220 kB / 0.92 GB Notification: Performance of FrontEnd: time 8.51e-07/0.9311, allocations: 0 / 1.175 GB, free: 220 kB / 0.92 GB Notification: Performance of Transformations before backend: time 5.666e-05/0.9311, allocations: 0 / 1.175 GB, free: 220 kB / 0.92 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.003517/0.9347, allocations: 1.682 MB / 1.176 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.9347, allocations: 8.031 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.9358, allocations: 215 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.9371, allocations: 0.8905 MB / 1.178 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.9372, allocations: 78 kB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.9373, allocations: 99.98 kB / 1.178 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.9391, allocations: 1.028 MB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9391, allocations: 0 / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.9392, allocations: 44 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.9392, allocations: 24 kB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.9411, allocations: 1.163 MB / 1.18 GB, free: 10.85 MB / 0.9356 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.004377/0.9455, allocations: 3.036 MB / 1.183 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9469, allocations: 0.8027 MB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.9475, allocations: 298.7 kB / 1.184 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.782e-05/0.9476, allocations: 36.59 kB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009446/0.9485, allocations: 495.1 kB / 1.184 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.926e-06/0.9486, allocations: 0 / 1.184 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003227/0.9518, allocations: 1.217 MB / 1.186 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.9519, allocations: 188.6 kB / 1.186 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.9529, allocations: 0.7951 MB / 1.187 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.9529, allocations: 41.7 kB / 1.187 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.9534, allocations: 0.5 MB / 1.187 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.9536, allocations: 260.3 kB / 1.187 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.9538, allocations: 162.5 kB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9539, allocations: 337.9 kB / 1.188 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.9545, allocations: 265.8 kB / 1.188 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.9551, allocations: 363.1 kB / 1.188 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.9562, allocations: 0.5994 MB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9562, allocations: 0 / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002065/0.9583, allocations: 0.8641 MB / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9583, allocations: 8 kB / 1.19 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9583, allocations: 0 / 1.19 GB, free: 336 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.959, allocations: 88.8 kB / 1.19 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.9597, allocations: 155.8 kB / 1.19 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.9618, allocations: 1.54 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.9626, allocations: 93.72 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.9627, allocations: 31.97 kB / 1.192 GB, free: 14.29 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.0005751/0.9632, allocations: 296.8 kB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.9634, allocations: 102.7 kB / 1.192 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.9662, allocations: 1.086 MB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.9662, allocations: 8 kB / 1.193 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9662, allocations: 4 kB / 1.193 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.9662, allocations: 3.984 kB / 1.193 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.9675, allocations: 1.006 MB / 1.194 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.9675, allocations: 0 / 1.194 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.9681, allocations: 139.8 kB / 1.194 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.9687, allocations: 96.64 kB / 1.194 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.9687, allocations: 23.97 kB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.9706, allocations: 1.552 MB / 1.196 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.9707, allocations: 7.969 kB / 1.196 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.9727, allocations: 0.9355 MB / 1.197 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.9731, allocations: 287.5 kB / 1.197 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9732, allocations: 16 kB / 1.197 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.9739, allocations: 75.77 kB / 1.197 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9741, allocations: 68.84 kB / 1.197 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.9742, allocations: 44.03 kB / 1.197 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007209/0.9749, allocations: 0.5503 MB / 1.198 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9749, allocations: 0 / 1.198 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008659/0.9758, allocations: 343.1 kB / 1.198 GB, free: 7.406 MB / 0.9512 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.001375/0.9771, allocations: 0.6124 MB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.9788, allocations: 0.8236 MB / 1.2 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9788, allocations: 0 / 1.2 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.9798, allocations: 0.5081 MB / 1.2 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.9814, allocations: 425.5 kB / 1.201 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.9848, allocations: 2.423 MB / 1.203 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.9855, allocations: 1.106 MB / 1.204 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008999/0.9864, allocations: 283.6 kB / 1.204 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.9867, allocations: 107.4 kB / 1.204 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.9867, allocations: 4 kB / 1.204 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of Templates: time 0.02906/1.016, allocations: 16.67 MB / 1.221 GB, free: 0.7188 MB / 0.9669 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