Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001523/0.001523, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001589/0.001589, allocations: 224.1 kB / 23.05 MB, free: 5.074 MB / 14.72 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 1.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7715 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 65.23 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3758, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009915/0.3857, allocations: 5.725 MB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2157/0.6014, allocations: 154.4 MB / 1.44 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.6027, allocations: 35.69 kB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.6036, allocations: 365.3 kB / 1.441 GB, free: 10.51 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6056, allocations: 0.5898 MB / 1.441 GB, free: 9.918 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6078, allocations: 0.9137 MB / 1.442 GB, free: 9.012 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.6098, allocations: 1.593 MB / 1.444 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.6108, allocations: 0.5068 MB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.6117, allocations: 0.5682 MB / 1.445 GB, free: 6.297 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.6124, allocations: 0.5792 MB / 1.446 GB, free: 5.715 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.6126, allocations: 136 kB / 1.446 GB, free: 5.582 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.6138, allocations: 0.5347 MB / 1.446 GB, free: 5.047 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.6141, allocations: 334.9 kB / 1.446 GB, free: 4.719 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.6148, allocations: 0.6721 MB / 1.447 GB, free: 4.043 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.6173, allocations: 1.969 MB / 1.449 GB, free: 2.066 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6173, allocations: 0 / 1.449 GB, free: 2.066 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6173, allocations: 0 / 1.449 GB, free: 2.066 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.6173, allocations: 4 kB / 1.449 GB, free: 2.062 MB / 1.139 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.003101/0.6204, allocations: 1.684 MB / 1.451 GB, free: 348 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.6205, allocations: 8.031 kB / 1.451 GB, free: 340 kB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.378e-05/0.6205, allocations: 30.19 kB / 1.451 GB, free: 312 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.6207, allocations: 152.4 kB / 1.451 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.6223, allocations: 267.8 kB / 1.451 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.6239, allocations: 0.8461 MB / 1.452 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.624, allocations: 77.98 kB / 1.452 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6241, allocations: 96 kB / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.626, allocations: 1.039 MB / 1.453 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.626, allocations: 0 / 1.453 GB, free: 13.76 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6261, allocations: 44 kB / 1.453 GB, free: 13.72 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.6262, allocations: 24 kB / 1.453 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.6283, allocations: 1.171 MB / 1.454 GB, free: 12.52 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/0.6334, allocations: 2.962 MB / 1.457 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.635, allocations: 0.7494 MB / 1.458 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.6356, allocations: 278.7 kB / 1.458 GB, free: 8.406 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.6356, allocations: 32.59 kB / 1.458 GB, free: 8.375 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009308/0.6366, allocations: 491.1 kB / 1.459 GB, free: 7.875 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.6366, allocations: 0 / 1.459 GB, free: 7.875 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003373/0.64, allocations: 1.136 MB / 1.46 GB, free: 6.73 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.6401, allocations: 196.6 kB / 1.46 GB, free: 6.496 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.6413, allocations: 0.8263 MB / 1.461 GB, free: 5.645 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.6414, allocations: 41.7 kB / 1.461 GB, free: 5.598 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.6419, allocations: 0.5242 MB / 1.461 GB, free: 5.066 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.6422, allocations: 265.7 kB / 1.462 GB, free: 4.805 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.6424, allocations: 142.6 kB / 1.462 GB, free: 4.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6426, allocations: 330 kB / 1.462 GB, free: 4.332 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.6431, allocations: 249.9 kB / 1.462 GB, free: 4.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.6438, allocations: 350.6 kB / 1.463 GB, free: 3.719 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.6451, allocations: 0.5877 MB / 1.463 GB, free: 3.121 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6451, allocations: 0 / 1.463 GB, free: 3.121 MB / 1.154 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00227/0.6473, allocations: 0.8217 MB / 1.464 GB, free: 2.285 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6474, allocations: 4 kB / 1.464 GB, free: 2.281 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6474, allocations: 3.938 kB / 1.464 GB, free: 2.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.648, allocations: 88.86 kB / 1.464 GB, free: 2.188 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.6487, allocations: 143.8 kB / 1.464 GB, free: 2.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.6512, allocations: 1.543 MB / 1.466 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.652, allocations: 91.53 kB / 1.466 GB, free: 304 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/0.652, allocations: 32.05 kB / 1.466 GB, free: 272 kB / 1.154 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.0005952/0.6526, allocations: 297.9 kB / 1.466 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.6529, allocations: 111.3 kB / 1.466 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.6555, allocations: 1.064 MB / 1.467 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6555, allocations: 15.94 kB / 1.467 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.6555, allocations: 0 / 1.467 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.6555, allocations: 3.984 kB / 1.467 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.6569, allocations: 0.9928 MB / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6569, allocations: 0 / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.6575, allocations: 147.8 kB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.658, allocations: 76.72 kB / 1.469 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.658, allocations: 27.92 kB / 1.469 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.6602, allocations: 1.574 MB / 1.47 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6602, allocations: 0 / 1.47 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.6624, allocations: 0.944 MB / 1.471 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/0.6629, allocations: 219 kB / 1.471 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.663, allocations: 24 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.6637, allocations: 66.42 kB / 1.471 GB, free: 10.51 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.6639, allocations: 76.8 kB / 1.471 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.6639, allocations: 31.98 kB / 1.471 GB, free: 10.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000888/0.6648, allocations: 0.5782 MB / 1.472 GB, free: 9.816 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6648, allocations: 0 / 1.472 GB, free: 9.816 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009428/0.6658, allocations: 358.8 kB / 1.472 GB, free: 9.469 MB / 1.17 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.004673/0.6705, allocations: 2.009 MB / 1.474 GB, free: 7.609 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.6726, allocations: 0.765 MB / 1.475 GB, free: 6.832 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6726, allocations: 4 kB / 1.475 GB, free: 6.828 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6737, allocations: 496.2 kB / 1.476 GB, free: 6.332 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.676, allocations: 463.3 kB / 1.476 GB, free: 5.914 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.6905, allocations: 7.082 MB / 1.483 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/0.6915, allocations: 1.102 MB / 1.484 GB, free: 13.55 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00101/0.6925, allocations: 295.8 kB / 1.484 GB, free: 13.26 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.6932, allocations: 467.2 kB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/0.6932, allocations: 0 / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.7653, allocations: 26.79 MB / 1.511 GB, free: 2.262 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.08, allocations: 9.719 kB / 1.511 GB, free: 2.262 MB / 1.201 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.521261725050863]