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.001761/0.001761, allocations: 114.3 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.00257/0.00257, allocations: 213.8 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.035 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.373/3.373, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.002092/0.002092, allocations: 78.55 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4092, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.0089/0.4181, allocations: 5.722 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2074/0.6254, allocations: 154.4 MB / 1.482 GB, free: 1.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.6266, allocations: 39.69 kB / 1.482 GB, free: 1.191 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.6281, allocations: 377.3 kB / 1.483 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.6308, allocations: 0.5804 MB / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.634, allocations: 0.9215 MB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.637, allocations: 1.574 MB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.6384, allocations: 0.5067 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.6395, allocations: 0.5683 MB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.6406, allocations: 0.5793 MB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.641, allocations: 136 kB / 1.487 GB, free: 11.91 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.6424, allocations: 0.5269 MB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.6428, allocations: 342.8 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009523/0.6438, allocations: 0.6683 MB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003203/0.647, allocations: 1.973 MB / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.647, allocations: 0 / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.647, allocations: 3.938 kB / 1.491 GB, free: 8.391 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.719e-05/0.6471, allocations: 0 / 1.491 GB, free: 8.391 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.003629/0.6507, allocations: 1.694 MB / 1.492 GB, free: 6.66 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6507, allocations: 16.02 kB / 1.492 GB, free: 6.645 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.651, allocations: 148.4 kB / 1.493 GB, free: 6.492 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6525, allocations: 263.8 kB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.6542, allocations: 0.8425 MB / 1.494 GB, free: 5.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.6542, allocations: 77.94 kB / 1.494 GB, free: 5.293 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.6544, allocations: 92 kB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.6563, allocations: 1.028 MB / 1.495 GB, free: 4.133 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.6564, allocations: 4 kB / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.6565, allocations: 40 kB / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.6565, allocations: 27.98 kB / 1.495 GB, free: 4.062 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.6585, allocations: 1.175 MB / 1.496 GB, free: 2.887 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005159/0.6636, allocations: 3.02 MB / 1.499 GB, free: 15.73 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6651, allocations: 0.7506 MB / 1.5 GB, free: 14.98 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.6657, allocations: 270.7 kB / 1.5 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.6658, allocations: 32.59 kB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/0.6667, allocations: 495.1 kB / 1.501 GB, free: 14.17 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.6667, allocations: 4 kB / 1.501 GB, free: 14.17 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003261/0.67, allocations: 1.136 MB / 1.502 GB, free: 13.03 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6701, allocations: 200.5 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.6713, allocations: 0.8186 MB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.6714, allocations: 41.7 kB / 1.503 GB, free: 11.9 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.6718, allocations: 0.5203 MB / 1.503 GB, free: 11.37 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.6721, allocations: 269.7 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.6723, allocations: 142.6 kB / 1.504 GB, free: 10.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6725, allocations: 337.9 kB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.673, allocations: 249.9 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.6736, allocations: 354.6 kB / 1.504 GB, free: 10.01 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6747, allocations: 0.5799 MB / 1.505 GB, free: 9.418 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6747, allocations: 0 / 1.505 GB, free: 9.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001957/0.6766, allocations: 0.8178 MB / 1.506 GB, free: 8.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6767, allocations: 11.98 kB / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6767, allocations: 0 / 1.506 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.6773, allocations: 84.81 kB / 1.506 GB, free: 8.492 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.6779, allocations: 143.8 kB / 1.506 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.6801, allocations: 1.543 MB / 1.508 GB, free: 6.688 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.6808, allocations: 98.38 kB / 1.508 GB, free: 6.594 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.6808, allocations: 31.98 kB / 1.508 GB, free: 6.562 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.0004751/0.6813, allocations: 298 kB / 1.508 GB, free: 6.262 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.6815, allocations: 111.2 kB / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.6839, allocations: 1.076 MB / 1.509 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6839, allocations: 15.92 kB / 1.509 GB, free: 5.055 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6839, allocations: 0 / 1.509 GB, free: 5.055 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.6839, allocations: 3.984 kB / 1.509 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6852, allocations: 0.9891 MB / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6852, allocations: 0 / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.6857, allocations: 139.8 kB / 1.51 GB, free: 3.879 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.6862, allocations: 68.78 kB / 1.51 GB, free: 3.809 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.6862, allocations: 27.97 kB / 1.51 GB, free: 3.781 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.6882, allocations: 1.574 MB / 1.512 GB, free: 2.082 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.6882, allocations: 3.984 kB / 1.512 GB, free: 2.078 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6902, allocations: 0.9479 MB / 1.513 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.6907, allocations: 226.9 kB / 1.513 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6908, allocations: 23.94 kB / 1.513 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.6914, allocations: 59.94 kB / 1.513 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6916, allocations: 72.8 kB / 1.513 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.6917, allocations: 36.05 kB / 1.513 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008284/0.6925, allocations: 0.5782 MB / 1.514 GB, free: 112 kB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6925, allocations: 4 kB / 1.514 GB, free: 108 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.000922/0.6934, allocations: 343 kB / 1.514 GB, free: 15.77 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.004652/0.6981, allocations: 2.003 MB / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6998, allocations: 0.7726 MB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6998, allocations: 0 / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009592/0.7008, allocations: 0.4926 MB / 1.517 GB, free: 12.62 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.7025, allocations: 476.1 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.7173, allocations: 7.072 MB / 1.525 GB, free: 4.977 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.7184, allocations: 1.106 MB / 1.526 GB, free: 3.844 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7195, allocations: 291.8 kB / 1.526 GB, free: 3.555 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/0.7203, allocations: 471.2 kB / 1.526 GB, free: 3.094 MB / 1.217 GB Notification: Performance of SimCode: time 1.472e-06/0.7203, allocations: 0 / 1.526 GB, free: 3.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.8003, allocations: 26.76 MB / 1.553 GB, free: 8.574 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.63, allocations: 3.984 kB / 1.553 GB, free: 8.57 MB / 1.248 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.793020616983995]