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.00156/0.00156, allocations: 108 kB / 15.61 MB, free: 148 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.001955/0.001955, allocations: 193.7 kB / 16.53 MB, free: 6.691 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.362/2.362, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 68.03 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6178, allocations: 140.4 MB / 0.9497 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005796/0.6237, allocations: 5.11 MB / 0.9547 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.7932, allocations: 150.8 MB / 1.102 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.7945, allocations: 27.81 kB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.7956, allocations: 341.5 kB / 1.102 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.798, allocations: 0.5368 MB / 1.103 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.8004, allocations: 0.8486 MB / 1.104 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.8022, allocations: 1.477 MB / 1.105 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.8035, allocations: 0.8177 MB / 1.106 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.8043, allocations: 0.5176 MB / 1.106 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.8051, allocations: 0.5597 MB / 1.107 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.8054, allocations: 136 kB / 1.107 GB, free: 128 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009606/0.8063, allocations: 475.7 kB / 1.108 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.8067, allocations: 338.8 kB / 1.108 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/0.8074, allocations: 0.641 MB / 1.109 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.8096, allocations: 1.834 MB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8096, allocations: 4 kB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8096, allocations: 0 / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.763e-05/0.8097, allocations: 0 / 1.11 GB, free: 12.84 MB / 0.8731 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.003048/0.8128, allocations: 1.671 MB / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8128, allocations: 16.03 kB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.813, allocations: 152.4 kB / 1.112 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.814, allocations: 215 kB / 1.112 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.8154, allocations: 0.8903 MB / 1.113 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.8155, allocations: 82 kB / 1.113 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.8156, allocations: 99.98 kB / 1.113 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.8174, allocations: 1.028 MB / 1.114 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.8174, allocations: 0 / 1.114 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.8175, allocations: 44 kB / 1.114 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.8176, allocations: 24 kB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.8194, allocations: 1.163 MB / 1.116 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.824, allocations: 2.842 MB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8255, allocations: 0.7964 MB / 1.119 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.826, allocations: 302.6 kB / 1.119 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.8261, allocations: 32.59 kB / 1.119 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008699/0.827, allocations: 491.1 kB / 1.12 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.827, allocations: 0 / 1.12 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.003034/0.83, allocations: 1.205 MB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.8301, allocations: 192.6 kB / 1.121 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8312, allocations: 0.8007 MB / 1.122 GB, free: 496 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.8312, allocations: 45.7 kB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.8317, allocations: 0.5117 MB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.8319, allocations: 244.4 kB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.8321, allocations: 146.5 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8323, allocations: 337.9 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.8328, allocations: 245.8 kB / 1.124 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.8334, allocations: 358.6 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.8346, allocations: 0.5799 MB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8346, allocations: 0 / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001992/0.8366, allocations: 0.8134 MB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8366, allocations: 8 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.8366, allocations: 0 / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.8372, allocations: 88.8 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.8379, allocations: 143.8 kB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.84, allocations: 1.646 MB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.8407, allocations: 92.94 kB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.8408, allocations: 27.98 kB / 1.127 GB, free: 11 MB / 0.8887 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.0005038/0.8413, allocations: 293.5 kB / 1.127 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.8415, allocations: 102.7 kB / 1.128 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.844, allocations: 1.079 MB / 1.129 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.844, allocations: 11.94 kB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8441, allocations: 0 / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.8441, allocations: 7.984 kB / 1.129 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.8454, allocations: 1.009 MB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.8454, allocations: 4 kB / 1.13 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.8459, allocations: 139.8 kB / 1.13 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.8464, allocations: 80.78 kB / 1.13 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.8465, allocations: 23.97 kB / 1.13 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.8484, allocations: 1.674 MB / 1.131 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8485, allocations: 0 / 1.131 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.8505, allocations: 0.9433 MB / 1.132 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.851, allocations: 291.5 kB / 1.133 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.8512, allocations: 19.94 kB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.8519, allocations: 74.66 kB / 1.133 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.852, allocations: 68.84 kB / 1.133 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.8521, allocations: 39.97 kB / 1.133 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007755/0.8529, allocations: 0.5581 MB / 1.133 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8529, allocations: 0 / 1.133 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008423/0.8537, allocations: 327.1 kB / 1.134 GB, free: 4.012 MB / 0.8887 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.003646/0.8574, allocations: 1.987 MB / 1.136 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.8597, allocations: 0.9875 MB / 1.137 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8597, allocations: 4 kB / 1.137 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.8606, allocations: 0.5119 MB / 1.137 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.8623, allocations: 472.9 kB / 1.138 GB, free: 228 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.8749, allocations: 7.442 MB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.8757, allocations: 1.094 MB / 1.146 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009476/0.8766, allocations: 287.6 kB / 1.146 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.8773, allocations: 471.2 kB / 1.147 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of SimCode: time 1.012e-06/0.8773, allocations: 4 kB / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.9348, allocations: 25.05 MB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.3, allocations: 13.7 kB / 1.171 GB, free: 13.89 MB / 0.9356 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