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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001169/0.001169, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001429/0.001429, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 9.406 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.39, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006186/0.3962, allocations: 4.849 MB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1672/0.5634, allocations: 137.1 MB / 1.197 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.5645, allocations: 23.88 kB / 1.197 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.5653, allocations: 274.1 kB / 1.197 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.5674, allocations: 464.6 kB / 1.197 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.5696, allocations: 0.6618 MB / 1.198 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002174/0.5718, allocations: 1.339 MB / 1.199 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.5729, allocations: 0.5322 MB / 1.2 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000903/0.5738, allocations: 370.2 kB / 1.2 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.5743, allocations: 421.7 kB / 1.201 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/0.5744, allocations: 28 kB / 1.201 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.5754, allocations: 343.6 kB / 1.201 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.5756, allocations: 199 kB / 1.201 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.5759, allocations: 245 kB / 1.201 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.5775, allocations: 1.387 MB / 1.203 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5775, allocations: 3.984 kB / 1.203 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.917e-06/0.5775, allocations: 0 / 1.203 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.5776, allocations: 0 / 1.203 GB, free: 0.7383 MB / 0.9512 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.002611/0.5802, allocations: 1.434 MB / 1.204 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5802, allocations: 8.031 kB / 1.204 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.5811, allocations: 226.1 kB / 1.204 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5824, allocations: 0.8516 MB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.5825, allocations: 78 kB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.5826, allocations: 96 kB / 1.205 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5845, allocations: 1.028 MB / 1.206 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.5845, allocations: 0 / 1.206 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.5846, allocations: 44 kB / 1.206 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5846, allocations: 28 kB / 1.206 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.5865, allocations: 1.163 MB / 1.208 GB, free: 11.65 MB / 0.9669 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.004618/0.5911, allocations: 3.089 MB / 1.211 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.5925, allocations: 0.7925 MB / 1.211 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.593, allocations: 302.7 kB / 1.212 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.5931, allocations: 28.61 kB / 1.212 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/0.594, allocations: 0.4889 MB / 1.212 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=78): time 3.967e-06/0.594, allocations: 0 / 1.212 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=78): time 0.00296/0.597, allocations: 1.213 MB / 1.213 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5971, allocations: 192.6 kB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5982, allocations: 0.7873 MB / 1.214 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.5982, allocations: 41.7 kB / 1.214 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.5987, allocations: 0.5078 MB / 1.215 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.5989, allocations: 252.4 kB / 1.215 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.599, allocations: 16 kB / 1.215 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5991, allocations: 337.9 kB / 1.215 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.5996, allocations: 265.9 kB / 1.216 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.6002, allocations: 367.1 kB / 1.216 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.6008, allocations: 298.9 kB / 1.216 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6008, allocations: 3.938 kB / 1.216 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001883/0.6027, allocations: 0.8719 MB / 1.217 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6027, allocations: 4 kB / 1.217 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6027, allocations: 0 / 1.217 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.6032, allocations: 84.88 kB / 1.217 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.6039, allocations: 163.7 kB / 1.217 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.6058, allocations: 1.536 MB / 1.219 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.6066, allocations: 107.4 kB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.6067, allocations: 31.97 kB / 1.219 GB, free: 15.49 MB / 0.9825 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005302/0.6072, allocations: 287.4 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6073, allocations: 106.6 kB / 1.219 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6096, allocations: 1.093 MB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.6096, allocations: 8 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.6096, allocations: 8 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6096, allocations: 7.969 kB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.611, allocations: 0.9973 MB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6111, allocations: 0 / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.6116, allocations: 143.8 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.6121, allocations: 92.7 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.6121, allocations: 19.98 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.6139, allocations: 1.563 MB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6139, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6158, allocations: 0.9394 MB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.6162, allocations: 307.4 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6163, allocations: 20 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.6169, allocations: 84.44 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.617, allocations: 68.91 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/0.6171, allocations: 43.91 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007626/0.6179, allocations: 0.5503 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6179, allocations: 0 / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009762/0.6189, allocations: 339 kB / 1.226 GB, free: 8.574 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/0.6202, allocations: 0.5995 MB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.6218, allocations: 0.8234 MB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6219, allocations: 0 / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008557/0.6227, allocations: 0.516 MB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6242, allocations: 412.9 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.6277, allocations: 2.368 MB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.6284, allocations: 1.102 MB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008858/0.6293, allocations: 283.6 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.6296, allocations: 115.4 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of SimCode: time 3.116e-06/0.6296, allocations: 0 / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.02787/0.6574, allocations: 16.09 MB / 1.247 GB, free: 2.535 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/jenkins/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