Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001794/0.001794, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00267/0.00267, allocations: 218.9 kB / 23.03 MB, free: 4.945 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_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.00205/0.00205, allocations: 66.25 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01068/0.419, allocations: 5.083 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.6054, allocations: 132.9 MB / 1.461 GB, free: 7.004 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.6066, allocations: 35.69 kB / 1.461 GB, free: 6.969 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.6079, allocations: 377.3 kB / 1.462 GB, free: 6.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.6102, allocations: 0.5897 MB / 1.462 GB, free: 6.008 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.6127, allocations: 0.9002 MB / 1.463 GB, free: 5.113 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002308/0.615, allocations: 1.57 MB / 1.465 GB, free: 3.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.6161, allocations: 0.5106 MB / 1.465 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.6171, allocations: 0.5722 MB / 1.466 GB, free: 2.414 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.6181, allocations: 0.5793 MB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.6184, allocations: 135.9 kB / 1.466 GB, free: 1.699 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.6197, allocations: 0.5191 MB / 1.467 GB, free: 1.18 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.6202, allocations: 330.9 kB / 1.467 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.621, allocations: 0.5324 MB / 1.468 GB, free: 328 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.6242, allocations: 1.984 MB / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6242, allocations: 0 / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6242, allocations: 0 / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.081e-05/0.6243, allocations: 0 / 1.47 GB, free: 14.33 MB / 1.17 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.00419/0.6284, allocations: 1.69 MB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.6285, allocations: 12.03 kB / 1.471 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.147e-05/0.6285, allocations: 26.19 kB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002912/0.6288, allocations: 156.4 kB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.6305, allocations: 263.8 kB / 1.472 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.6324, allocations: 0.8423 MB / 1.473 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.6325, allocations: 74 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.6327, allocations: 96 kB / 1.473 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.6352, allocations: 1.29 MB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.6352, allocations: 4 kB / 1.474 GB, free: 9.719 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.6353, allocations: 40 kB / 1.474 GB, free: 9.68 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.6354, allocations: 27.98 kB / 1.474 GB, free: 9.652 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.6376, allocations: 1.163 MB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/0.643, allocations: 2.508 MB / 1.478 GB, free: 5.91 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.6447, allocations: 0.7429 MB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.6453, allocations: 274.7 kB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.903e-05/0.6454, allocations: 24.62 kB / 1.479 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.6465, allocations: 0.5916 MB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.6465, allocations: 0 / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003652/0.6501, allocations: 1.14 MB / 1.48 GB, free: 3.082 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.6503, allocations: 192.6 kB / 1.481 GB, free: 2.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.6518, allocations: 0.8263 MB / 1.481 GB, free: 2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.6519, allocations: 45.64 kB / 1.481 GB, free: 1.949 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/0.6525, allocations: 0.5242 MB / 1.482 GB, free: 1.418 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.6528, allocations: 257.8 kB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.6531, allocations: 146.6 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6533, allocations: 330 kB / 1.483 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.6539, allocations: 245.9 kB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.6547, allocations: 487.1 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.6559, allocations: 0.576 MB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6559, allocations: 0 / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002229/0.6581, allocations: 0.8217 MB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6581, allocations: 7.938 kB / 1.485 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6582, allocations: 3.938 kB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.6589, allocations: 84.86 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.6595, allocations: 147.8 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.6622, allocations: 1.541 MB / 1.486 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/0.6631, allocations: 91.5 kB / 1.487 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.6632, allocations: 31.97 kB / 1.487 GB, free: 12.47 MB / 1.186 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.0007071/0.6639, allocations: 290.2 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.6642, allocations: 111.3 kB / 1.487 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.667, allocations: 1.072 MB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.667, allocations: 11.94 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.667, allocations: 4 kB / 1.488 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.667, allocations: 3.984 kB / 1.488 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.6686, allocations: 0.8488 MB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6686, allocations: 3.938 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.6693, allocations: 143.8 kB / 1.489 GB, free: 9.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.6697, allocations: 72.78 kB / 1.489 GB, free: 9.855 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.6698, allocations: 31.91 kB / 1.489 GB, free: 9.824 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.6721, allocations: 1.566 MB / 1.491 GB, free: 8.137 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6721, allocations: 0 / 1.491 GB, free: 8.137 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.6744, allocations: 0.9479 MB / 1.492 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.675, allocations: 226.9 kB / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.6752, allocations: 16 kB / 1.492 GB, free: 6.926 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.6759, allocations: 63.92 kB / 1.492 GB, free: 6.863 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.6761, allocations: 72.81 kB / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.6762, allocations: 39.97 kB / 1.492 GB, free: 6.754 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001017/0.6772, allocations: 0.5743 MB / 1.492 GB, free: 6.168 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6772, allocations: 0 / 1.492 GB, free: 6.168 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001058/0.6783, allocations: 351 kB / 1.493 GB, free: 5.824 MB / 1.186 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.004859/0.6831, allocations: 2.044 MB / 1.495 GB, free: 3.965 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.6853, allocations: 0.765 MB / 1.496 GB, free: 3.188 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6853, allocations: 0 / 1.496 GB, free: 3.188 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.6864, allocations: 496.2 kB / 1.496 GB, free: 2.691 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.6885, allocations: 477.1 kB / 1.496 GB, free: 2.258 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.7034, allocations: 7.075 MB / 1.503 GB, free: 11.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.7042, allocations: 0.5139 MB / 1.504 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001166/0.7054, allocations: 295.8 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000845/0.7062, allocations: 475.2 kB / 1.505 GB, free: 9.727 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/0.7062, allocations: 4 kB / 1.505 GB, free: 9.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07423/0.7805, allocations: 27.8 MB / 1.532 GB, free: 14.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.99, allocations: 10.3 kB / 1.532 GB, free: 14.29 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.319052365026437]