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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 61.64 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2684, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006966/0.2754, allocations: 5.615 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.423, allocations: 150.9 MB / 1.217 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.4243, allocations: 19.88 kB / 1.217 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.4255, allocations: 365.3 kB / 1.217 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.4278, allocations: 0.5539 MB / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.4303, allocations: 0.8783 MB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.4321, allocations: 1.546 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.4333, allocations: 0.7636 MB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.4341, allocations: 0.5409 MB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.4349, allocations: 0.5715 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.4352, allocations: 135.9 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009828/0.4362, allocations: 471.7 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.4365, allocations: 334.9 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006923/0.4372, allocations: 0.6566 MB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.4393, allocations: 1.873 MB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4393, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4393, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.4394, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 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.003024/0.4424, allocations: 1.682 MB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4424, allocations: 12.03 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.4427, allocations: 152.4 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.4437, allocations: 223 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.4449, allocations: 0.8826 MB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.445, allocations: 78 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4451, allocations: 96 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4468, allocations: 1.032 MB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4468, allocations: 0 / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.4469, allocations: 47.98 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.447, allocations: 28 kB / 1.229 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.4488, allocations: 1.163 MB / 1.23 GB, free: 3.168 MB / 0.9825 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.004303/0.4531, allocations: 3.056 MB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.4546, allocations: 0.7935 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.4552, allocations: 298.7 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.4553, allocations: 24.61 kB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.4562, allocations: 0.4912 MB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/0.4562, allocations: 0 / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003066/0.4593, allocations: 1.201 MB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.4594, allocations: 192.6 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4605, allocations: 0.8007 MB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.4605, allocations: 45.64 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.4609, allocations: 0.5078 MB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.4611, allocations: 260.2 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.4613, allocations: 146.5 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.4614, allocations: 337.9 kB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.462, allocations: 249.9 kB / 1.238 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.4626, allocations: 350.6 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.4637, allocations: 0.576 MB / 1.239 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4637, allocations: 7.938 kB / 1.239 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001895/0.4656, allocations: 0.8057 MB / 1.24 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4656, allocations: 12.03 kB / 1.24 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4656, allocations: 0 / 1.24 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.4662, allocations: 88.7 kB / 1.24 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.4668, allocations: 143.8 kB / 1.24 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.469, allocations: 1.642 MB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.4697, allocations: 91.23 kB / 1.242 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.4697, allocations: 28.05 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0004434/0.4702, allocations: 297.6 kB / 1.242 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.4704, allocations: 98.78 kB / 1.242 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.4728, allocations: 1.079 MB / 1.243 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4729, allocations: 15.94 kB / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4729, allocations: 0 / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4729, allocations: 3.984 kB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.4742, allocations: 1.002 MB / 1.244 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4742, allocations: 0 / 1.244 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.4748, allocations: 139.8 kB / 1.245 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.4752, allocations: 80.72 kB / 1.245 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.4753, allocations: 19.98 kB / 1.245 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.4771, allocations: 1.685 MB / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4772, allocations: 0 / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.4791, allocations: 0.9472 MB / 1.247 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.4796, allocations: 287.5 kB / 1.248 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.4798, allocations: 19.94 kB / 1.248 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/0.4804, allocations: 66.03 kB / 1.248 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4806, allocations: 68.98 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.4807, allocations: 47.95 kB / 1.248 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5024/0.983, allocations: 0.5516 MB / 1.248 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9831, allocations: 0 / 1.248 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001389/0.9845, allocations: 340.8 kB / 1.249 GB, free: 185.7 MB / 0.9981 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.003769/0.9882, allocations: 1.984 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.9907, allocations: 0.9911 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9907, allocations: 0.5938 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.9916, allocations: 0.5083 MB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.9935, allocations: 475 kB / 1.252 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.004, allocations: 7.333 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.004, allocations: 1.102 MB / 1.261 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001012/1.005, allocations: 286.2 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/1.006, allocations: 466 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.006, allocations: 5.25 kB / 1.261 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/1.068, allocations: 25.49 MB / 1.286 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.24, allocations: 17.05 kB / 1.286 GB, free: 173.6 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv","/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