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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.004268/0.004268, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.001268/0.001268, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 68.11 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007599/0.2919, allocations: 5.61 MB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6768/0.9687, allocations: 150.9 MB / 1.394 GB, free: 1.109 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.9696, allocations: 22.56 kB / 1.394 GB, free: 1.102 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.9704, allocations: 363.3 kB / 1.395 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.972, allocations: 0.5636 MB / 1.395 GB, free: 384 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.9738, allocations: 0.8738 MB / 1.396 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.9754, allocations: 1.561 MB / 1.398 GB, free: 14.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.9764, allocations: 0.7686 MB / 1.398 GB, free: 14.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.977, allocations: 0.5335 MB / 1.399 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.9777, allocations: 0.5714 MB / 1.399 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.9778, allocations: 131.8 kB / 1.4 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.9787, allocations: 0.4919 MB / 1.4 GB, free: 13.35 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.979, allocations: 328 kB / 1.4 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005947/0.9796, allocations: 0.674 MB / 1.401 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.9817, allocations: 1.928 MB / 1.403 GB, free: 11.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9817, allocations: 0 / 1.403 GB, free: 11.16 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9818, allocations: 0 / 1.403 GB, free: 11.16 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.9818, allocations: 0 / 1.403 GB, free: 11.16 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.002749/0.9845, allocations: 1.729 MB / 1.405 GB, free: 9.801 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.9846, allocations: 9.719 kB / 1.405 GB, free: 9.801 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.9848, allocations: 154.2 kB / 1.405 GB, free: 9.676 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/0.9857, allocations: 226.3 kB / 1.405 GB, free: 9.562 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9871, allocations: 0.9212 MB / 1.406 GB, free: 8.824 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.9872, allocations: 73.38 kB / 1.406 GB, free: 8.793 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.9873, allocations: 96.05 kB / 1.406 GB, free: 8.762 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.9891, allocations: 1.03 MB / 1.407 GB, free: 8.109 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.9891, allocations: 4.781 kB / 1.407 GB, free: 8.109 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.9892, allocations: 44.19 kB / 1.407 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.9892, allocations: 23.94 kB / 1.407 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.9912, allocations: 1.17 MB / 1.408 GB, free: 7.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.9956, allocations: 3.068 MB / 1.411 GB, free: 5.059 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.9972, allocations: 0.7923 MB / 1.412 GB, free: 4.664 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.9977, allocations: 307 kB / 1.412 GB, free: 4.504 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.9978, allocations: 30.8 kB / 1.412 GB, free: 4.488 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009246/0.9988, allocations: 496.7 kB / 1.413 GB, free: 4.172 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.365e-06/0.9988, allocations: 0 / 1.413 GB, free: 4.172 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003265/1.002, allocations: 1.216 MB / 1.414 GB, free: 3.508 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.002, allocations: 188.5 kB / 1.414 GB, free: 3.289 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.003, allocations: 0.7959 MB / 1.415 GB, free: 2.824 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/1.003, allocations: 42.52 kB / 1.415 GB, free: 2.781 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/1.004, allocations: 0.5259 MB / 1.415 GB, free: 2.312 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/1.004, allocations: 261.3 kB / 1.416 GB, free: 2.086 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/1.005, allocations: 142.1 kB / 1.416 GB, free: 1.996 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.005, allocations: 341.2 kB / 1.416 GB, free: 1.664 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.005, allocations: 243.7 kB / 1.416 GB, free: 1.547 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/1.006, allocations: 353.4 kB / 1.417 GB, free: 1.324 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.007, allocations: 0.5826 MB / 1.417 GB, free: 1.004 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.007, allocations: 0 / 1.417 GB, free: 1.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001878/1.009, allocations: 0.821 MB / 1.418 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.009, allocations: 5.531 kB / 1.418 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.009, allocations: 0.9688 kB / 1.418 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/1.01, allocations: 81.5 kB / 1.418 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/1.01, allocations: 150.1 kB / 1.418 GB, free: 0.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.012, allocations: 1.645 MB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/1.013, allocations: 96.25 kB / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.013, allocations: 35.94 kB / 1.42 GB, free: 14.8 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.0004089/1.014, allocations: 290 kB / 1.42 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/1.014, allocations: 104.4 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.016, allocations: 1.077 MB / 1.421 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.016, allocations: 10.41 kB / 1.422 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.016, allocations: 7.922 kB / 1.422 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.016, allocations: 10.92 kB / 1.422 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/1.017, allocations: 1.003 MB / 1.423 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/1.017, allocations: 0 / 1.423 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/1.018, allocations: 141.3 kB / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/1.018, allocations: 74.66 kB / 1.423 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/1.019, allocations: 22.77 kB / 1.423 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.021, allocations: 1.668 MB / 1.424 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.021, allocations: 4.062 kB / 1.424 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/1.023, allocations: 0.95 MB / 1.425 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/1.023, allocations: 296 kB / 1.426 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.023, allocations: 24.06 kB / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/1.024, allocations: 59.94 kB / 1.426 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.024, allocations: 72.89 kB / 1.426 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/1.024, allocations: 40.06 kB / 1.426 GB, free: 10.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007354/1.025, allocations: 0.5581 MB / 1.426 GB, free: 9.449 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.025, allocations: 0 / 1.426 GB, free: 9.449 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00082/1.026, allocations: 347 kB / 1.427 GB, free: 9.109 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.004091/1.03, allocations: 2.002 MB / 1.429 GB, free: 7.262 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.031, allocations: 0.7891 MB / 1.429 GB, free: 6.461 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.031, allocations: 0 / 1.429 GB, free: 6.461 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/1.032, allocations: 0.516 MB / 1.43 GB, free: 5.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.034, allocations: 488.5 kB / 1.43 GB, free: 5.488 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.046, allocations: 6.99 MB / 1.437 GB, free: 14.35 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008032/1.047, allocations: 1.102 MB / 1.438 GB, free: 13.22 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009065/1.048, allocations: 283.7 kB / 1.439 GB, free: 12.94 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/1.048, allocations: 463.2 kB / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.048, allocations: 0 / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/1.109, allocations: 25.81 MB / 1.464 GB, free: 2.977 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.9, allocations: 9.172 kB / 1.464 GB, free: 2.973 MB / 1.154 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 400 --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