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.001768/0.001768, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002501/0.002501, allocations: 217 kB / 22.25 MB, free: 5.082 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 8.023 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.502/3.502, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002232/0.002232, allocations: 63.8 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.429, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008354/0.4374, allocations: 5.732 MB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1979/0.6353, allocations: 154.4 MB / 1.509 GB, free: 7.754 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.6365, allocations: 35.69 kB / 1.509 GB, free: 7.719 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.6379, allocations: 377.3 kB / 1.51 GB, free: 7.348 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.6405, allocations: 0.5813 MB / 1.51 GB, free: 6.766 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.6434, allocations: 0.9155 MB / 1.511 GB, free: 5.855 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.6462, allocations: 1.578 MB / 1.513 GB, free: 4.27 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.6475, allocations: 0.5107 MB / 1.513 GB, free: 3.723 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.6486, allocations: 0.5643 MB / 1.514 GB, free: 3.156 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.6497, allocations: 0.5831 MB / 1.514 GB, free: 2.57 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004654/0.6502, allocations: 136 kB / 1.514 GB, free: 2.438 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.6518, allocations: 0.5269 MB / 1.515 GB, free: 1.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.6524, allocations: 346.8 kB / 1.515 GB, free: 1.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.6534, allocations: 0.6644 MB / 1.516 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.6568, allocations: 1.973 MB / 1.518 GB, free: 14.92 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6568, allocations: 0 / 1.518 GB, free: 14.92 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6568, allocations: 0 / 1.518 GB, free: 14.92 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.888e-05/0.6569, allocations: 0 / 1.518 GB, free: 14.92 MB / 1.217 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.004201/0.6611, allocations: 1.683 MB / 1.519 GB, free: 13.2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6611, allocations: 12.03 kB / 1.519 GB, free: 13.19 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003406/0.6615, allocations: 156.4 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6632, allocations: 263.8 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.6654, allocations: 0.8424 MB / 1.521 GB, free: 11.9 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/0.6655, allocations: 78 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.6656, allocations: 96 kB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.6679, allocations: 1.028 MB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.6679, allocations: 0 / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.668, allocations: 47.94 kB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.668, allocations: 24 kB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.6701, allocations: 1.175 MB / 1.523 GB, free: 9.414 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.6758, allocations: 3.017 MB / 1.526 GB, free: 6.266 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.6773, allocations: 0.7582 MB / 1.527 GB, free: 5.496 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.6779, allocations: 278.7 kB / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.678, allocations: 32.59 kB / 1.527 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.679, allocations: 488.8 kB / 1.527 GB, free: 4.695 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 6.141e-06/0.679, allocations: 7.922 kB / 1.528 GB, free: 4.688 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003401/0.6824, allocations: 1.134 MB / 1.529 GB, free: 3.543 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6826, allocations: 196.6 kB / 1.529 GB, free: 3.309 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6839, allocations: 0.8225 MB / 1.53 GB, free: 2.461 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/0.6839, allocations: 41.7 kB / 1.53 GB, free: 2.414 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.6844, allocations: 0.5242 MB / 1.53 GB, free: 1.883 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.6847, allocations: 261.8 kB / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.6849, allocations: 146.6 kB / 1.531 GB, free: 1.477 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6851, allocations: 333.9 kB / 1.531 GB, free: 1.145 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.6856, allocations: 245.9 kB / 1.531 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.6863, allocations: 366.5 kB / 1.531 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6875, allocations: 0.5799 MB / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6875, allocations: 0 / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002077/0.6895, allocations: 0.814 MB / 1.533 GB, free: 15.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6896, allocations: 5.875 kB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6896, allocations: 4 kB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.6902, allocations: 88.8 kB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.6909, allocations: 147.7 kB / 1.533 GB, free: 14.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.6933, allocations: 1.535 MB / 1.535 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.6941, allocations: 95.53 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.6942, allocations: 24.05 kB / 1.535 GB, free: 13.09 MB / 1.232 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.0005726/0.6948, allocations: 298.4 kB / 1.535 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.695, allocations: 111.3 kB / 1.535 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.6976, allocations: 1.072 MB / 1.536 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6976, allocations: 11.94 kB / 1.536 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6976, allocations: 0 / 1.536 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6976, allocations: 3.984 kB / 1.536 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.6991, allocations: 1.001 MB / 1.537 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6991, allocations: 4 kB / 1.537 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.6998, allocations: 139.8 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.7002, allocations: 76.78 kB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.7003, allocations: 19.98 kB / 1.537 GB, free: 10.3 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.7024, allocations: 1.578 MB / 1.539 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7024, allocations: 0 / 1.539 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.7046, allocations: 0.9517 MB / 1.54 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.7051, allocations: 226.9 kB / 1.54 GB, free: 7.41 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.7053, allocations: 24 kB / 1.54 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.706, allocations: 59.92 kB / 1.54 GB, free: 7.328 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7061, allocations: 80.8 kB / 1.54 GB, free: 7.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.7062, allocations: 27.98 kB / 1.54 GB, free: 7.223 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008861/0.7071, allocations: 0.5821 MB / 1.541 GB, free: 6.629 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7071, allocations: 0 / 1.541 GB, free: 6.629 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009943/0.7081, allocations: 355 kB / 1.541 GB, free: 6.281 MB / 1.232 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.004421/0.7125, allocations: 1.997 MB / 1.543 GB, free: 4.43 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.7143, allocations: 0.7689 MB / 1.544 GB, free: 3.652 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.7143, allocations: 4 kB / 1.544 GB, free: 3.648 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.7153, allocations: 488.2 kB / 1.544 GB, free: 3.16 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.717, allocations: 472.9 kB / 1.545 GB, free: 2.73 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.7301, allocations: 7.076 MB / 1.552 GB, free: 11.5 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.7311, allocations: 1.106 MB / 1.553 GB, free: 10.37 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001046/0.7322, allocations: 295.7 kB / 1.553 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/0.7329, allocations: 471.2 kB / 1.553 GB, free: 9.613 MB / 1.248 GB Notification: Performance of SimCode: time 1.092e-06/0.7329, allocations: 0 / 1.553 GB, free: 9.613 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08349/0.8164, allocations: 26.76 MB / 1.58 GB, free: 15.05 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.55, allocations: 7.375 kB / 1.58 GB, free: 15.05 MB / 1.279 GB " [Timeout remaining time 284] (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: 23.25005210796371]