Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_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.008851/0.008851, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001417/0.001417, allocations: 190.5 kB / 16.67 MB, free: 5.918 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: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9207, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006552/0.9273, allocations: 5.108 MB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2076/1.135, allocations: 150.8 MB / 1.24 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/1.137, allocations: 27.16 kB / 1.24 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/1.138, allocations: 345.4 kB / 1.24 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/1.141, allocations: 0.5199 MB / 1.241 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/1.143, allocations: 0.8596 MB / 1.241 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002212/1.146, allocations: 1.474 MB / 1.243 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/1.147, allocations: 0.8217 MB / 1.244 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.148, allocations: 0.5295 MB / 1.244 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/1.149, allocations: 0.5541 MB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004738/1.15, allocations: 131.2 kB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/1.151, allocations: 0.4918 MB / 1.245 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005636/1.152, allocations: 334.9 kB / 1.246 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/1.153, allocations: 0.6527 MB / 1.246 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/1.156, allocations: 1.888 MB / 1.248 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.156, allocations: 3.984 kB / 1.248 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/1.156, allocations: 0 / 1.248 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.51e-05/1.157, allocations: 0 / 1.248 GB, free: 9.203 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.003975/1.161, allocations: 1.667 MB / 1.25 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.161, allocations: 8.031 kB / 1.25 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/1.161, allocations: 156.4 kB / 1.25 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.162, allocations: 223 kB / 1.25 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/1.164, allocations: 0.9138 MB / 1.251 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/1.164, allocations: 70 kB / 1.251 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/1.164, allocations: 96 kB / 1.251 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.166, allocations: 1.035 MB / 1.252 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.166, allocations: 3.938 kB / 1.252 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.166, allocations: 44 kB / 1.252 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/1.166, allocations: 24 kB / 1.252 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.168, allocations: 1.167 MB / 1.253 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/1.173, allocations: 2.8 MB / 1.256 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.175, allocations: 0.7962 MB / 1.257 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/1.176, allocations: 298.7 kB / 1.257 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/1.176, allocations: 36.55 kB / 1.257 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/1.177, allocations: 491.2 kB / 1.258 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.995e-06/1.177, allocations: 0 / 1.258 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003248/1.18, allocations: 1.201 MB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.18, allocations: 196.6 kB / 1.259 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.181, allocations: 0.8007 MB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/1.181, allocations: 37.7 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/1.182, allocations: 0.5155 MB / 1.26 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/1.182, allocations: 248.5 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.182, allocations: 142.5 kB / 1.261 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.183, allocations: 333.9 kB / 1.261 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/1.183, allocations: 249.9 kB / 1.261 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/1.184, allocations: 354.5 kB / 1.262 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.185, allocations: 0.5799 MB / 1.262 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.185, allocations: 3.938 kB / 1.262 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002024/1.187, allocations: 0.8134 MB / 1.263 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.187, allocations: 4 kB / 1.263 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.187, allocations: 0 / 1.263 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.188, allocations: 92.73 kB / 1.263 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/1.188, allocations: 151.8 kB / 1.263 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.191, allocations: 1.644 MB / 1.265 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/1.191, allocations: 91.42 kB / 1.265 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/1.191, allocations: 31.97 kB / 1.265 GB, free: 7.387 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.0005611/1.192, allocations: 285.6 kB / 1.265 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.192, allocations: 110.7 kB / 1.265 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/1.195, allocations: 1.068 MB / 1.266 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.195, allocations: 12 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.195, allocations: 3.938 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.195, allocations: 3.984 kB / 1.266 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/1.196, allocations: 1.017 MB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.196, allocations: 0 / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/1.197, allocations: 139.8 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/1.197, allocations: 72.73 kB / 1.268 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/1.197, allocations: 27.97 kB / 1.268 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.199, allocations: 1.666 MB / 1.269 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.199, allocations: 0 / 1.269 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.202, allocations: 0.9511 MB / 1.27 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/1.202, allocations: 291.4 kB / 1.27 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.202, allocations: 23.94 kB / 1.271 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006722/1.203, allocations: 55.94 kB / 1.271 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.203, allocations: 76.83 kB / 1.271 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/1.203, allocations: 35.98 kB / 1.271 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000916/1.204, allocations: 0.5581 MB / 1.271 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.204, allocations: 0 / 1.271 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001088/1.205, allocations: 327.1 kB / 1.272 GB, free: 428 kB / 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.00391/1.209, allocations: 1.983 MB / 1.273 GB, free: 14.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.211, allocations: 0.796 MB / 1.274 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.211, allocations: 0 / 1.274 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009703/1.212, allocations: 0.5161 MB / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.214, allocations: 472 kB / 1.275 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.229, allocations: 7.061 MB / 1.282 GB, free: 5.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009061/1.23, allocations: 1.095 MB / 1.283 GB, free: 4.488 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001128/1.231, allocations: 287.6 kB / 1.283 GB, free: 4.203 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/1.232, allocations: 479.2 kB / 1.284 GB, free: 3.734 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/1.232, allocations: 0 / 1.284 GB, free: 3.734 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.336, allocations: 25.37 MB / 1.309 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.71, allocations: 15.66 kB / 1.309 GB, free: 10.64 MB / 1.045 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches