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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.005159/0.005159, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001181/0.001181, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9049/0.9063, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007421/0.9138, allocations: 5.613 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1651/1.079, allocations: 150.9 MB / 1.373 GB, free: 5.141 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/1.08, allocations: 27.81 kB / 1.373 GB, free: 5.113 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009083/1.081, allocations: 361.3 kB / 1.373 GB, free: 4.758 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/1.083, allocations: 0.5668 MB / 1.373 GB, free: 4.191 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/1.085, allocations: 0.882 MB / 1.374 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001464/1.086, allocations: 1.562 MB / 1.376 GB, free: 1.746 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009682/1.087, allocations: 0.7739 MB / 1.377 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/1.088, allocations: 0.5371 MB / 1.377 GB, free: 404 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/1.089, allocations: 0.5637 MB / 1.378 GB, free: 15.83 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/1.089, allocations: 131.9 kB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/1.09, allocations: 0.5035 MB / 1.378 GB, free: 15.2 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/1.09, allocations: 330.8 kB / 1.379 GB, free: 14.87 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/1.09, allocations: 0.6644 MB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/1.092, allocations: 1.931 MB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.092, allocations: 0 / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.863e-06/1.092, allocations: 0 / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.092, allocations: 4 kB / 1.381 GB, free: 12.26 MB / 1.107 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.002735/1.095, allocations: 1.719 MB / 1.383 GB, free: 10.49 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.095, allocations: 8.625 kB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/1.095, allocations: 164.4 kB / 1.383 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009669/1.096, allocations: 215.9 kB / 1.383 GB, free: 10.1 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.098, allocations: 0.9263 MB / 1.384 GB, free: 9.133 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/1.098, allocations: 74 kB / 1.384 GB, free: 9.062 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.098, allocations: 96 kB / 1.384 GB, free: 8.969 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/1.1, allocations: 1.032 MB / 1.385 GB, free: 7.895 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.1, allocations: 3.938 kB / 1.385 GB, free: 7.891 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/1.1, allocations: 48 kB / 1.385 GB, free: 7.844 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.1, allocations: 24 kB / 1.385 GB, free: 7.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/1.102, allocations: 1.167 MB / 1.386 GB, free: 6.656 MB / 1.107 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.004218/1.106, allocations: 3.025 MB / 1.389 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.107, allocations: 0.7921 MB / 1.39 GB, free: 2.723 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/1.108, allocations: 298.7 kB / 1.391 GB, free: 2.426 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/1.108, allocations: 36.59 kB / 1.391 GB, free: 2.391 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008616/1.109, allocations: 499.3 kB / 1.391 GB, free: 1.883 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/1.109, allocations: 0 / 1.391 GB, free: 1.883 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003209/1.112, allocations: 1.206 MB / 1.392 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.112, allocations: 192.6 kB / 1.392 GB, free: 432 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000958/1.113, allocations: 0.8007 MB / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/1.113, allocations: 41.7 kB / 1.393 GB, free: 15.55 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/1.114, allocations: 0.5203 MB / 1.394 GB, free: 15.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/1.114, allocations: 257.8 kB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.114, allocations: 146.6 kB / 1.394 GB, free: 14.62 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.114, allocations: 341.9 kB / 1.394 GB, free: 14.28 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/1.115, allocations: 245.9 kB / 1.395 GB, free: 14.04 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/1.115, allocations: 358.4 kB / 1.395 GB, free: 13.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.116, allocations: 0.5799 MB / 1.396 GB, free: 13.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.116, allocations: 0 / 1.396 GB, free: 13.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001864/1.118, allocations: 0.814 MB / 1.396 GB, free: 12.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.118, allocations: 4 kB / 1.396 GB, free: 12.24 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.118, allocations: 12.03 kB / 1.396 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/1.119, allocations: 88.64 kB / 1.396 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/1.12, allocations: 147.8 kB / 1.397 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.122, allocations: 1.641 MB / 1.398 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/1.123, allocations: 91.45 kB / 1.398 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/1.123, allocations: 27.98 kB / 1.398 GB, free: 10.09 MB / 1.123 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.0004409/1.123, allocations: 298.2 kB / 1.399 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/1.123, allocations: 107.4 kB / 1.399 GB, free: 9.688 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/1.126, allocations: 1.072 MB / 1.4 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.126, allocations: 15.94 kB / 1.4 GB, free: 8.594 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.126, allocations: 0 / 1.4 GB, free: 8.594 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.126, allocations: 3.984 kB / 1.4 GB, free: 8.59 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.127, allocations: 1.005 MB / 1.401 GB, free: 7.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.127, allocations: 0 / 1.401 GB, free: 7.531 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/1.127, allocations: 143.8 kB / 1.401 GB, free: 7.391 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/1.128, allocations: 76.78 kB / 1.401 GB, free: 7.312 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/1.128, allocations: 27.98 kB / 1.401 GB, free: 7.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/1.13, allocations: 1.681 MB / 1.403 GB, free: 5.457 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.13, allocations: 0 / 1.403 GB, free: 5.457 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/1.132, allocations: 0.9517 MB / 1.404 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/1.133, allocations: 296.1 kB / 1.404 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/1.133, allocations: 16 kB / 1.404 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/1.133, allocations: 70.88 kB / 1.404 GB, free: 4.094 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.134, allocations: 68.84 kB / 1.404 GB, free: 4.027 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/1.134, allocations: 35.97 kB / 1.404 GB, free: 3.992 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007693/1.134, allocations: 0.562 MB / 1.405 GB, free: 3.418 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.001e-06/1.134, allocations: 0 / 1.405 GB, free: 3.418 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008867/1.135, allocations: 343 kB / 1.405 GB, free: 3.082 MB / 1.123 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.0036/1.139, allocations: 2.011 MB / 1.407 GB, free: 1.219 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001664/1.141, allocations: 0.7845 MB / 1.408 GB, free: 432 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.141, allocations: 4 kB / 1.408 GB, free: 428 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009796/1.142, allocations: 0.5158 MB / 1.408 GB, free: 15.89 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.143, allocations: 465.7 kB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.156, allocations: 6.995 MB / 1.415 GB, free: 8.32 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/1.157, allocations: 1.094 MB / 1.416 GB, free: 7.195 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001026/1.158, allocations: 287.7 kB / 1.417 GB, free: 6.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006566/1.159, allocations: 475.2 kB / 1.417 GB, free: 6.445 MB / 1.139 GB Notification: Performance of SimCode: time 7.71e-07/1.159, allocations: 0 / 1.417 GB, free: 6.445 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/1.221, allocations: 25.81 MB / 1.442 GB, free: 12.95 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.68, allocations: 3.75 kB / 1.442 GB, free: 12.95 MB / 1.17 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