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.001429/0.001429, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001535/0.001535, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.605/1.605, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.465/3.465, allocations: 0.49 GB / 0.7916 GB, free: 33.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_12_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.002158/0.002158, allocations: 71.7 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3915, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009562/0.401, allocations: 5.676 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2187/0.6198, allocations: 154.3 MB / 1.477 GB, free: 2.766 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.621, allocations: 35.69 kB / 1.477 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.6222, allocations: 373.3 kB / 1.477 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.6246, allocations: 0.5891 MB / 1.478 GB, free: 1.777 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.6271, allocations: 0.8938 MB / 1.479 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.6298, allocations: 1.574 MB / 1.48 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.6311, allocations: 0.51 MB / 1.481 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.6322, allocations: 0.5683 MB / 1.481 GB, free: 14.19 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009017/0.6331, allocations: 0.5831 MB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.6333, allocations: 132 kB / 1.482 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.6347, allocations: 0.5231 MB / 1.483 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.6351, allocations: 342.8 kB / 1.483 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.6359, allocations: 0.6682 MB / 1.484 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.6392, allocations: 1.98 MB / 1.486 GB, free: 9.957 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.6392, allocations: 0 / 1.486 GB, free: 9.957 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.848e-06/0.6392, allocations: 0 / 1.486 GB, free: 9.957 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.355e-05/0.6392, allocations: 4 kB / 1.486 GB, free: 9.953 MB / 1.186 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.004133/0.6434, allocations: 1.758 MB / 1.487 GB, free: 8.137 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/0.6434, allocations: 11.98 kB / 1.487 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.6437, allocations: 156.4 kB / 1.487 GB, free: 7.965 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6454, allocations: 263.8 kB / 1.488 GB, free: 7.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.6471, allocations: 0.9341 MB / 1.489 GB, free: 6.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.6472, allocations: 74 kB / 1.489 GB, free: 6.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6474, allocations: 96 kB / 1.489 GB, free: 6.566 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.6493, allocations: 1.032 MB / 1.49 GB, free: 5.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6493, allocations: 3.984 kB / 1.49 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.6494, allocations: 36 kB / 1.49 GB, free: 5.453 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.6495, allocations: 28 kB / 1.49 GB, free: 5.426 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.6516, allocations: 1.175 MB / 1.491 GB, free: 4.25 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005612/0.6572, allocations: 3.071 MB / 1.494 GB, free: 1.047 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.6589, allocations: 0.7533 MB / 1.495 GB, free: 288 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.6594, allocations: 274.7 kB / 1.495 GB, free: 4 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.6595, allocations: 32.7 kB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/0.6605, allocations: 491.2 kB / 1.495 GB, free: 15.47 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.414e-06/0.6605, allocations: 0 / 1.495 GB, free: 15.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003729/0.6642, allocations: 1.211 MB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.6644, allocations: 192.6 kB / 1.497 GB, free: 14.01 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.6657, allocations: 0.8224 MB / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/0.6658, allocations: 45.7 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.6663, allocations: 0.5203 MB / 1.498 GB, free: 12.58 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.6666, allocations: 265.8 kB / 1.498 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.6668, allocations: 146.6 kB / 1.499 GB, free: 12.17 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.667, allocations: 341.9 kB / 1.499 GB, free: 11.83 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.6675, allocations: 241.9 kB / 1.499 GB, free: 11.6 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/0.6682, allocations: 362.5 kB / 1.499 GB, free: 11.21 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.6694, allocations: 0.5799 MB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6694, allocations: 0 / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002204/0.6716, allocations: 0.814 MB / 1.501 GB, free: 9.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.6716, allocations: 8 kB / 1.501 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6716, allocations: 0 / 1.501 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.6723, allocations: 88.8 kB / 1.501 GB, free: 9.703 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.673, allocations: 147.7 kB / 1.501 GB, free: 9.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.6755, allocations: 1.647 MB / 1.503 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008744/0.6764, allocations: 95.55 kB / 1.503 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.6765, allocations: 31.98 kB / 1.503 GB, free: 7.645 MB / 1.201 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.000664/0.6771, allocations: 297.5 kB / 1.503 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.6774, allocations: 107.3 kB / 1.503 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.6801, allocations: 1.072 MB / 1.504 GB, free: 6.156 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6801, allocations: 11.94 kB / 1.504 GB, free: 6.145 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6801, allocations: 4 kB / 1.504 GB, free: 6.141 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6801, allocations: 7.984 kB / 1.504 GB, free: 6.133 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.6817, allocations: 1.025 MB / 1.505 GB, free: 5.059 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6817, allocations: 0 / 1.505 GB, free: 5.059 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.6823, allocations: 139.8 kB / 1.505 GB, free: 4.922 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.6828, allocations: 72.78 kB / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.6829, allocations: 23.98 kB / 1.505 GB, free: 4.824 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.6852, allocations: 1.678 MB / 1.507 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6852, allocations: 4.062 kB / 1.507 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.6875, allocations: 0.9517 MB / 1.508 GB, free: 2.023 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.6881, allocations: 300 kB / 1.508 GB, free: 1.711 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6882, allocations: 20 kB / 1.508 GB, free: 1.691 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.6889, allocations: 59.92 kB / 1.508 GB, free: 1.633 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.689, allocations: 68.84 kB / 1.508 GB, free: 1.566 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/0.6891, allocations: 39.98 kB / 1.509 GB, free: 1.527 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009863/0.6901, allocations: 0.5782 MB / 1.509 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6901, allocations: 0 / 1.509 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00109/0.6912, allocations: 339.1 kB / 1.509 GB, free: 0.6055 MB / 1.201 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.004639/0.6958, allocations: 2.015 MB / 1.511 GB, free: 14.74 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.6977, allocations: 0.761 MB / 1.512 GB, free: 13.97 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6977, allocations: 3.938 kB / 1.512 GB, free: 13.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.6988, allocations: 0.4964 MB / 1.513 GB, free: 13.46 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.7006, allocations: 467 kB / 1.513 GB, free: 13.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.7141, allocations: 7.065 MB / 1.52 GB, free: 5.812 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.715, allocations: 1.102 MB / 1.521 GB, free: 4.684 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001077/0.7161, allocations: 295.8 kB / 1.521 GB, free: 4.391 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007365/0.7168, allocations: 479.2 kB / 1.522 GB, free: 3.922 MB / 1.217 GB Notification: Performance of SimCode: time 1.683e-06/0.7168, allocations: 4 kB / 1.522 GB, free: 3.918 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08936/0.8062, allocations: 26.19 MB / 1.547 GB, free: 10 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.82, allocations: 7.797 kB / 1.547 GB, free: 10 MB / 1.248 GB " [Timeout remaining time 285] (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: 22.38679847610183]