Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 72.08 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8437, allocations: 160.7 MB / 1.213 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009555/0.8533, allocations: 5.661 MB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1898/1.043, allocations: 151.3 MB / 1.366 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.045, allocations: 27.81 kB / 1.366 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/1.046, allocations: 361.3 kB / 1.367 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/1.049, allocations: 0.5747 MB / 1.367 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/1.052, allocations: 0.872 MB / 1.368 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002539/1.054, allocations: 1.546 MB / 1.369 GB, free: 7.406 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009598/1.055, allocations: 0.5099 MB / 1.37 GB, free: 6.859 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007904/1.056, allocations: 0.5448 MB / 1.371 GB, free: 6.312 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/1.057, allocations: 0.5715 MB / 1.371 GB, free: 5.738 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.057, allocations: 132 kB / 1.371 GB, free: 5.609 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/1.058, allocations: 0.4918 MB / 1.372 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/1.059, allocations: 338.8 kB / 1.372 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/1.059, allocations: 0.6605 MB / 1.373 GB, free: 4.121 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/1.062, allocations: 1.93 MB / 1.375 GB, free: 2.184 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.062, allocations: 0 / 1.375 GB, free: 2.184 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/1.062, allocations: 4 kB / 1.375 GB, free: 2.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.024e-05/1.062, allocations: 3.938 kB / 1.375 GB, free: 2.176 MB / 1.076 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.002934/1.065, allocations: 1.721 MB / 1.376 GB, free: 408 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.065, allocations: 16.91 kB / 1.376 GB, free: 392 kB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/1.065, allocations: 152.4 kB / 1.376 GB, free: 232 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/1.066, allocations: 231.8 kB / 1.377 GB, free: 0 / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.068, allocations: 0.9185 MB / 1.378 GB, free: 15.04 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/1.068, allocations: 70 kB / 1.378 GB, free: 14.97 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.068, allocations: 96 kB / 1.378 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.07, allocations: 1.035 MB / 1.379 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.07, allocations: 0 / 1.379 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/1.07, allocations: 40 kB / 1.379 GB, free: 13.76 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/1.07, allocations: 24 kB / 1.379 GB, free: 13.74 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.072, allocations: 1.175 MB / 1.38 GB, free: 12.56 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/1.076, allocations: 3.015 MB / 1.383 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.078, allocations: 0.7455 MB / 1.384 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/1.078, allocations: 282.7 kB / 1.384 GB, free: 8.398 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/1.078, allocations: 32.59 kB / 1.384 GB, free: 8.367 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000889/1.079, allocations: 488.8 kB / 1.384 GB, free: 7.871 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.524e-06/1.079, allocations: 4 kB / 1.384 GB, free: 7.867 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003189/1.082, allocations: 1.21 MB / 1.386 GB, free: 6.629 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.083, allocations: 196.6 kB / 1.386 GB, free: 6.395 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/1.084, allocations: 0.8046 MB / 1.386 GB, free: 5.562 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/1.084, allocations: 41.7 kB / 1.387 GB, free: 5.516 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004688/1.084, allocations: 0.5125 MB / 1.387 GB, free: 4.996 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.084, allocations: 261.8 kB / 1.387 GB, free: 4.738 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.085, allocations: 146.6 kB / 1.387 GB, free: 4.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.085, allocations: 337.8 kB / 1.388 GB, free: 4.254 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/1.085, allocations: 245.9 kB / 1.388 GB, free: 4.012 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/1.086, allocations: 362.5 kB / 1.388 GB, free: 3.633 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.087, allocations: 0.5799 MB / 1.389 GB, free: 3.043 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.087, allocations: 0 / 1.389 GB, free: 3.043 MB / 1.092 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001965/1.089, allocations: 0.8101 MB / 1.39 GB, free: 2.219 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.089, allocations: 8 kB / 1.39 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.089, allocations: 0 / 1.39 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/1.09, allocations: 88.8 kB / 1.39 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/1.09, allocations: 147.8 kB / 1.39 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/1.093, allocations: 1.649 MB / 1.392 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/1.093, allocations: 94.41 kB / 1.392 GB, free: 100 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/1.093, allocations: 32.05 kB / 1.392 GB, free: 68 kB / 1.092 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.0006585/1.094, allocations: 294.5 kB / 1.392 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/1.094, allocations: 103.3 kB / 1.392 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/1.097, allocations: 1.076 MB / 1.393 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.097, allocations: 11.94 kB / 1.393 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.097, allocations: 0 / 1.393 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.097, allocations: 3.984 kB / 1.393 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/1.098, allocations: 1.009 MB / 1.394 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.098, allocations: 0 / 1.394 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/1.099, allocations: 143.8 kB / 1.394 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/1.1, allocations: 72.78 kB / 1.394 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/1.1, allocations: 23.98 kB / 1.394 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/1.102, allocations: 1.678 MB / 1.396 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.102, allocations: 4.031 kB / 1.396 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/1.104, allocations: 0.9399 MB / 1.397 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/1.105, allocations: 300.1 kB / 1.397 GB, free: 10.17 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.105, allocations: 20 kB / 1.397 GB, free: 10.15 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/1.105, allocations: 59.92 kB / 1.397 GB, free: 10.09 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.106, allocations: 76.91 kB / 1.397 GB, free: 10.01 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/1.106, allocations: 35.97 kB / 1.397 GB, free: 9.977 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008493/1.106, allocations: 0.562 MB / 1.398 GB, free: 9.402 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.106, allocations: 4 kB / 1.398 GB, free: 9.398 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009503/1.107, allocations: 343 kB / 1.398 GB, free: 9.062 MB / 1.107 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.004294/1.112, allocations: 2.008 MB / 1.4 GB, free: 7.207 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.113, allocations: 0.7649 MB / 1.401 GB, free: 6.426 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.113, allocations: 0 / 1.401 GB, free: 6.426 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009604/1.114, allocations: 0.4886 MB / 1.401 GB, free: 5.93 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.116, allocations: 476 kB / 1.402 GB, free: 5.492 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.128, allocations: 6.99 MB / 1.409 GB, free: 14.35 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/1.129, allocations: 1.102 MB / 1.41 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00106/1.13, allocations: 287.7 kB / 1.41 GB, free: 12.94 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.131, allocations: 459.2 kB / 1.41 GB, free: 12.49 MB / 1.123 GB Notification: Performance of SimCode: time 1.263e-06/1.131, allocations: 0 / 1.41 GB, free: 12.49 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06715/1.198, allocations: 25.95 MB / 1.436 GB, free: 2.719 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.09, allocations: 5.422 kB / 1.436 GB, free: 2.715 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 21.223869323264807]