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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009927/0.0009927, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9221/0.9221, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.8/1.8, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.286e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00801/0.008033, allocations: 5.063 MB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5821/0.5901, allocations: 133 MB / 1.134 GB, free: 14.38 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5912, allocations: 34.38 kB / 1.135 GB, free: 14.36 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.5919, allocations: 378 kB / 1.135 GB, free: 14.11 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.5935, allocations: 0.595 MB / 1.135 GB, free: 13.76 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.5951, allocations: 0.9212 MB / 1.136 GB, free: 13.27 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.5965, allocations: 1.649 MB / 1.138 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.5972, allocations: 487.4 kB / 1.138 GB, free: 12.11 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000796/0.598, allocations: 0.8394 MB / 1.139 GB, free: 11.71 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.5985, allocations: 444.6 kB / 1.14 GB, free: 11.54 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.5986, allocations: 139.6 kB / 1.14 GB, free: 11.54 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009177/0.5995, allocations: 0.5136 MB / 1.14 GB, free: 11.42 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.5998, allocations: 360.8 kB / 1.141 GB, free: 11.18 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.6001, allocations: 448.5 kB / 1.141 GB, free: 10.95 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.6023, allocations: 2.082 MB / 1.143 GB, free: 10.08 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6023, allocations: 0 / 1.143 GB, free: 10.08 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6023, allocations: 0 / 1.143 GB, free: 10.08 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.6023, allocations: 0.9062 kB / 1.143 GB, free: 10.08 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002534/0.6048, allocations: 1.696 MB / 1.145 GB, free: 8.973 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6049, allocations: 10.09 kB / 1.145 GB, free: 8.973 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.605, allocations: 157.6 kB / 1.145 GB, free: 8.871 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.606, allocations: 264.9 kB / 1.145 GB, free: 8.785 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.6074, allocations: 0.8589 MB / 1.146 GB, free: 8.258 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.6075, allocations: 82.08 kB / 1.146 GB, free: 8.219 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.6076, allocations: 105.3 kB / 1.146 GB, free: 8.184 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6092, allocations: 1.306 MB / 1.147 GB, free: 7.371 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.6092, allocations: 0 / 1.147 GB, free: 7.371 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/0.6093, allocations: 47.92 kB / 1.148 GB, free: 7.336 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6093, allocations: 24.47 kB / 1.148 GB, free: 7.336 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.6108, allocations: 1.127 MB / 1.149 GB, free: 7.055 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.6144, allocations: 2.648 MB / 1.151 GB, free: 5.523 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.6156, allocations: 0.7868 MB / 1.152 GB, free: 5.223 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.616, allocations: 292.5 kB / 1.152 GB, free: 5.109 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/0.616, allocations: 22.94 kB / 1.152 GB, free: 5.105 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007438/0.6168, allocations: 0.6137 MB / 1.153 GB, free: 4.762 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.986e-06/0.6168, allocations: 0 / 1.153 GB, free: 4.762 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.002305/0.6191, allocations: 1.187 MB / 1.154 GB, free: 4.316 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.6192, allocations: 203.5 kB / 1.154 GB, free: 4.094 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.6202, allocations: 0.8272 MB / 1.155 GB, free: 3.734 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.6202, allocations: 44.72 kB / 1.155 GB, free: 3.691 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6206, allocations: 0.5236 MB / 1.156 GB, free: 3.277 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.6208, allocations: 283.4 kB / 1.156 GB, free: 3.051 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.621, allocations: 162 kB / 1.156 GB, free: 2.977 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6211, allocations: 336.2 kB / 1.156 GB, free: 2.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.6215, allocations: 274.2 kB / 1.157 GB, free: 2.559 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.6221, allocations: 0.5006 MB / 1.157 GB, free: 2.215 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.6231, allocations: 0.6255 MB / 1.158 GB, free: 1.922 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6231, allocations: 0 / 1.158 GB, free: 1.922 MB / 1.01 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001478/0.6245, allocations: 0.8896 MB / 1.159 GB, free: 1.555 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6246, allocations: 6.25 kB / 1.159 GB, free: 1.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6246, allocations: 9.156 kB / 1.159 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.6249, allocations: 79.39 kB / 1.159 GB, free: 1.535 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.6253, allocations: 167.4 kB / 1.159 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.6268, allocations: 1.536 MB / 1.16 GB, free: 100 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.6273, allocations: 92.64 kB / 1.16 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.6274, allocations: 35 kB / 1.16 GB, free: 44 kB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (97): * Single equations (assignments): 96 * 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.0005107/0.6279, allocations: 298.5 kB / 1.161 GB, free: 15.83 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.628, allocations: 110.5 kB / 1.161 GB, free: 15.77 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.6296, allocations: 1.103 MB / 1.162 GB, free: 15.33 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6296, allocations: 9.609 kB / 1.162 GB, free: 15.33 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6296, allocations: 1.031 kB / 1.162 GB, free: 15.33 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6297, allocations: 4.641 kB / 1.162 GB, free: 15.33 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.6325, allocations: 2.127 MB / 1.164 GB, free: 14.29 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6325, allocations: 1.125 kB / 1.164 GB, free: 14.29 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.6328, allocations: 145.5 kB / 1.164 GB, free: 14.28 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.6331, allocations: 76.75 kB / 1.164 GB, free: 14.26 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.6331, allocations: 27.61 kB / 1.164 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.6343, allocations: 1.556 MB / 1.166 GB, free: 12.83 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6344, allocations: 0.7031 kB / 1.166 GB, free: 12.83 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.6358, allocations: 1.047 MB / 1.167 GB, free: 12.34 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.6361, allocations: 230.6 kB / 1.167 GB, free: 12.21 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.6362, allocations: 27.58 kB / 1.167 GB, free: 12.19 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.6366, allocations: 65.81 kB / 1.167 GB, free: 12.18 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6367, allocations: 76.7 kB / 1.167 GB, free: 12.16 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.6368, allocations: 32.08 kB / 1.167 GB, free: 12.16 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006939/0.6374, allocations: 0.5778 MB / 1.168 GB, free: 11.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6374, allocations: 0 / 1.168 GB, free: 11.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008732/0.6383, allocations: 352 kB / 1.168 GB, free: 11.8 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002616/0.6409, allocations: 2.158 MB / 1.17 GB, free: 10.62 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.6423, allocations: 0.8147 MB / 1.171 GB, free: 10.27 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6423, allocations: 0.75 kB / 1.171 GB, free: 10.27 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.6429, allocations: 0.5004 MB / 1.172 GB, free: 10.03 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.644, allocations: 477.9 kB / 1.172 GB, free: 9.883 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009201/0.6532, allocations: 7.379 MB / 1.179 GB, free: 6.211 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.6537, allocations: 0.5184 MB / 1.18 GB, free: 6.062 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0008201/0.6545, allocations: 299.7 kB / 1.18 GB, free: 5.973 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.655, allocations: 482.5 kB / 1.18 GB, free: 5.633 MB / 1.026 GB Notification: Performance of SimCode: time 1.032e-06/0.655, allocations: 0 / 1.18 GB, free: 5.633 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04898/0.704, allocations: 28.72 MB / 1.208 GB, free: 6.117 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.441, allocations: 10.03 kB / 1.208 GB, free: 6.109 MB / 1.042 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.775417080149055]