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.00666/0.00666, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001299/0.001299, allocations: 193.6 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.244/2.244, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002108, allocations: 63.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9345/0.9367, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006243/0.9429, allocations: 5.117 MB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1876/1.131, allocations: 150.8 MB / 1.24 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/1.132, allocations: 22.88 kB / 1.24 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/1.133, allocations: 347 kB / 1.24 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/1.136, allocations: 0.5284 MB / 1.241 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/1.138, allocations: 0.871 MB / 1.241 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.14, allocations: 1.484 MB / 1.243 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.141, allocations: 0.813 MB / 1.244 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/1.142, allocations: 0.5317 MB / 1.244 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/1.143, allocations: 0.5581 MB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/1.143, allocations: 131.9 kB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/1.144, allocations: 0.4931 MB / 1.245 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003815/1.145, allocations: 334.9 kB / 1.246 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000683/1.146, allocations: 0.6449 MB / 1.246 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/1.148, allocations: 1.896 MB / 1.248 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.148, allocations: 4 kB / 1.248 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/1.148, allocations: 0 / 1.248 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.151e-05/1.148, allocations: 0 / 1.248 GB, free: 9.199 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.003107/1.151, allocations: 1.727 MB / 1.25 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.151, allocations: 8.031 kB / 1.25 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/1.152, allocations: 156.4 kB / 1.25 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/1.153, allocations: 231.8 kB / 1.25 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/1.154, allocations: 0.9185 MB / 1.251 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/1.154, allocations: 70 kB / 1.251 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.154, allocations: 96 kB / 1.251 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.156, allocations: 1.035 MB / 1.252 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/1.156, allocations: 7.984 kB / 1.252 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/1.156, allocations: 40 kB / 1.252 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/1.156, allocations: 28 kB / 1.252 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.158, allocations: 1.167 MB / 1.254 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/1.162, allocations: 2.801 MB / 1.256 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.164, allocations: 0.7946 MB / 1.257 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/1.164, allocations: 302.6 kB / 1.257 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/1.164, allocations: 24.62 kB / 1.257 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009392/1.165, allocations: 0.4889 MB / 1.258 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/1.165, allocations: 0 / 1.258 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.003179/1.169, allocations: 1.214 MB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/1.169, allocations: 192.6 kB / 1.259 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.17, allocations: 0.8007 MB / 1.26 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/1.17, allocations: 37.7 kB / 1.26 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/1.171, allocations: 0.5164 MB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/1.171, allocations: 265.8 kB / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.171, allocations: 142.6 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.171, allocations: 341.9 kB / 1.261 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/1.172, allocations: 241.9 kB / 1.261 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/1.172, allocations: 358.6 kB / 1.262 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.173, allocations: 0.5721 MB / 1.262 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.173, allocations: 3.938 kB / 1.262 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001869/1.175, allocations: 0.8217 MB / 1.263 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.175, allocations: 8.094 kB / 1.263 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.175, allocations: 4 kB / 1.263 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/1.176, allocations: 80.72 kB / 1.263 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/1.176, allocations: 155.8 kB / 1.263 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.179, allocations: 1.634 MB / 1.265 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/1.179, allocations: 95.47 kB / 1.265 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/1.18, allocations: 31.97 kB / 1.265 GB, free: 7.281 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.0005834/1.18, allocations: 293.6 kB / 1.265 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/1.18, allocations: 103.3 kB / 1.265 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.183, allocations: 1.072 MB / 1.267 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.183, allocations: 19.92 kB / 1.267 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.183, allocations: 4 kB / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.183, allocations: 3.984 kB / 1.267 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.184, allocations: 1.005 MB / 1.268 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.184, allocations: 7.984 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/1.185, allocations: 139.8 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/1.185, allocations: 72.78 kB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/1.185, allocations: 27.97 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/1.188, allocations: 1.674 MB / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.188, allocations: 0 / 1.269 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.19, allocations: 0.9479 MB / 1.27 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/1.19, allocations: 300 kB / 1.271 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.191, allocations: 16 kB / 1.271 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/1.191, allocations: 63.94 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.191, allocations: 76.83 kB / 1.271 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/1.192, allocations: 31.98 kB / 1.271 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009909/1.193, allocations: 0.5581 MB / 1.271 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.193, allocations: 0 / 1.271 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001069/1.194, allocations: 339 kB / 1.272 GB, free: 292 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.003904/1.198, allocations: 1.991 MB / 1.274 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.199, allocations: 0.7961 MB / 1.274 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.199, allocations: 4.188 kB / 1.274 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.2, allocations: 0.5119 MB / 1.275 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.203, allocations: 466.2 kB / 1.275 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.216, allocations: 7.109 MB / 1.282 GB, free: 5.422 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/1.217, allocations: 1.103 MB / 1.283 GB, free: 4.297 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001057/1.218, allocations: 279.6 kB / 1.284 GB, free: 4.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006866/1.219, allocations: 475.2 kB / 1.284 GB, free: 3.555 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.219, allocations: 4 kB / 1.284 GB, free: 3.551 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09006/1.309, allocations: 25.37 MB / 1.309 GB, free: 10.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.77, allocations: 19.64 kB / 1.309 GB, free: 10.46 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