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.001325/0.001325, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001494/0.001494, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.349/3.349, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.0022/0.0022, allocations: 70.44 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3966, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008196/0.4048, allocations: 5.078 MB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1805/0.5853, allocations: 133 MB / 1.498 GB, free: 3.496 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5865, allocations: 39.62 kB / 1.498 GB, free: 3.457 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5875, allocations: 373.4 kB / 1.499 GB, free: 3.09 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.5896, allocations: 0.5813 MB / 1.499 GB, free: 2.508 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.5918, allocations: 0.8972 MB / 1.5 GB, free: 1.617 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002094/0.5939, allocations: 1.581 MB / 1.502 GB, free: 32 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009565/0.5948, allocations: 494.9 kB / 1.502 GB, free: 15.51 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.5957, allocations: 0.5605 MB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.5964, allocations: 0.5207 MB / 1.503 GB, free: 14.42 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.5966, allocations: 136 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.5977, allocations: 0.5074 MB / 1.504 GB, free: 13.78 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.5981, allocations: 338.9 kB / 1.504 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.5986, allocations: 0.5207 MB / 1.505 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.6013, allocations: 1.988 MB / 1.506 GB, free: 10.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6013, allocations: 0 / 1.506 GB, free: 10.93 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6013, allocations: 3.938 kB / 1.506 GB, free: 10.93 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.249e-05/0.6013, allocations: 0 / 1.506 GB, free: 10.93 MB / 1.201 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.003221/0.6046, allocations: 1.683 MB / 1.508 GB, free: 9.207 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6046, allocations: 12.03 kB / 1.508 GB, free: 9.195 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.6048, allocations: 156.4 kB / 1.508 GB, free: 9.035 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.6064, allocations: 267.8 kB / 1.509 GB, free: 8.773 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.6081, allocations: 0.8463 MB / 1.509 GB, free: 7.902 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.6082, allocations: 74 kB / 1.509 GB, free: 7.832 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6084, allocations: 96 kB / 1.51 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.6104, allocations: 1.283 MB / 1.511 GB, free: 6.352 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6105, allocations: 0 / 1.511 GB, free: 6.352 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.6106, allocations: 44 kB / 1.511 GB, free: 6.309 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.6106, allocations: 24 kB / 1.511 GB, free: 6.285 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.6126, allocations: 1.128 MB / 1.512 GB, free: 5.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.6177, allocations: 2.504 MB / 1.514 GB, free: 2.586 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.6193, allocations: 0.7507 MB / 1.515 GB, free: 1.828 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.6199, allocations: 274.7 kB / 1.515 GB, free: 1.555 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-05/0.6199, allocations: 28.62 kB / 1.515 GB, free: 1.527 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.6209, allocations: 0.5854 MB / 1.516 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.6209, allocations: 3.938 kB / 1.516 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003402/0.6244, allocations: 1.142 MB / 1.517 GB, free: 15.74 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.6245, allocations: 192.5 kB / 1.517 GB, free: 15.51 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.6257, allocations: 0.8263 MB / 1.518 GB, free: 14.66 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/0.6258, allocations: 41.7 kB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.6263, allocations: 0.5204 MB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.6265, allocations: 265.7 kB / 1.519 GB, free: 13.83 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.6268, allocations: 142.6 kB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6269, allocations: 341.9 kB / 1.519 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.6274, allocations: 241.9 kB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.6282, allocations: 483.1 kB / 1.52 GB, free: 12.58 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.6294, allocations: 0.5799 MB / 1.521 GB, free: 11.99 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6294, allocations: 4 kB / 1.521 GB, free: 11.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00207/0.6314, allocations: 0.8256 MB / 1.521 GB, free: 11.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6315, allocations: 6.5 kB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6315, allocations: 4 kB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.6321, allocations: 84.81 kB / 1.522 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.6327, allocations: 143.8 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.6351, allocations: 1.531 MB / 1.523 GB, free: 9.262 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.6358, allocations: 83.7 kB / 1.523 GB, free: 9.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.6359, allocations: 27.98 kB / 1.523 GB, free: 9.152 MB / 1.217 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.0005905/0.6365, allocations: 302.8 kB / 1.524 GB, free: 8.848 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.6367, allocations: 107.3 kB / 1.524 GB, free: 8.742 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.6392, allocations: 1.076 MB / 1.525 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6392, allocations: 15.94 kB / 1.525 GB, free: 7.641 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6392, allocations: 0 / 1.525 GB, free: 7.641 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6393, allocations: 3.984 kB / 1.525 GB, free: 7.637 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6405, allocations: 0.8566 MB / 1.526 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6405, allocations: 0 / 1.526 GB, free: 6.734 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.6411, allocations: 139.8 kB / 1.526 GB, free: 6.598 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/0.6416, allocations: 80.78 kB / 1.526 GB, free: 6.516 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.6416, allocations: 23.98 kB / 1.526 GB, free: 6.492 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.6437, allocations: 1.555 MB / 1.527 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6437, allocations: 4.031 kB / 1.527 GB, free: 4.812 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.6459, allocations: 0.9556 MB / 1.528 GB, free: 3.832 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.6464, allocations: 226.9 kB / 1.528 GB, free: 3.609 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6465, allocations: 16 kB / 1.528 GB, free: 3.594 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.6472, allocations: 71.98 kB / 1.529 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.6473, allocations: 76.8 kB / 1.529 GB, free: 3.449 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.6474, allocations: 31.98 kB / 1.529 GB, free: 3.418 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008623/0.6483, allocations: 0.5782 MB / 1.529 GB, free: 2.828 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6483, allocations: 0 / 1.529 GB, free: 2.828 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009094/0.6492, allocations: 351 kB / 1.53 GB, free: 2.484 MB / 1.217 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.004507/0.6537, allocations: 2.028 MB / 1.532 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.6555, allocations: 0.7648 MB / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6555, allocations: 0 / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.6565, allocations: 496.4 kB / 1.533 GB, free: 15.36 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.6582, allocations: 470.5 kB / 1.533 GB, free: 14.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.6707, allocations: 7.078 MB / 1.54 GB, free: 7.711 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.6713, allocations: 0.5022 MB / 1.541 GB, free: 7.172 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001058/0.6724, allocations: 299.8 kB / 1.541 GB, free: 6.875 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/0.6731, allocations: 475.2 kB / 1.541 GB, free: 6.41 MB / 1.232 GB Notification: Performance of SimCode: time 8.21e-07/0.6731, allocations: 0 / 1.541 GB, free: 6.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07587/0.749, allocations: 28.07 MB / 1.569 GB, free: 10.67 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.12, allocations: 7.188 kB / 1.569 GB, free: 10.67 MB / 1.264 GB " [Timeout remaining time 285] (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/jenkins1/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: 22.49472406692803]