Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001936/0.001936, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002415/0.002415, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.002142/0.002142, allocations: 63.25 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.351, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2274/0.5784, allocations: 180.6 MB / 1.46 GB, free: 6.379 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.5996, allocations: 13.13 MB / 1.473 GB, free: 9.199 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.6011, allocations: 43.62 kB / 1.473 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.6029, allocations: 480.4 kB / 1.473 GB, free: 8.684 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.6068, allocations: 1.083 MB / 1.474 GB, free: 7.602 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.6127, allocations: 1.955 MB / 1.476 GB, free: 5.652 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004332/0.617, allocations: 2.579 MB / 1.479 GB, free: 3.059 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.6198, allocations: 1.295 MB / 1.48 GB, free: 1.707 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005477/0.6253, allocations: 1.5 MB / 1.481 GB, free: 240 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.6273, allocations: 0.9143 MB / 1.482 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.6279, allocations: 176 kB / 1.482 GB, free: 15.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.6322, allocations: 1.528 MB / 1.484 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000976/0.6332, allocations: 0.4907 MB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.6348, allocations: 0.8902 MB / 1.485 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.6414, allocations: 2.861 MB / 1.488 GB, free: 9.355 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6414, allocations: 8 kB / 1.488 GB, free: 9.348 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6414, allocations: 0 / 1.488 GB, free: 9.348 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.209e-05/0.6415, allocations: 0 / 1.488 GB, free: 9.348 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005212/0.6467, allocations: 2.035 MB / 1.49 GB, free: 7.266 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.6467, allocations: 12.03 kB / 1.49 GB, free: 7.254 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.6471, allocations: 206.7 kB / 1.49 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.6507, allocations: 458.5 kB / 1.491 GB, free: 6.594 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.6531, allocations: 0.9672 MB / 1.492 GB, free: 5.598 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.6533, allocations: 106.7 kB / 1.492 GB, free: 5.492 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.6536, allocations: 132 kB / 1.492 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.6569, allocations: 1.517 MB / 1.493 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.657, allocations: 3.984 kB / 1.493 GB, free: 3.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.6572, allocations: 67.94 kB / 1.493 GB, free: 3.699 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.6572, allocations: 32 kB / 1.493 GB, free: 3.668 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.6607, allocations: 1.583 MB / 1.495 GB, free: 2.078 MB / 1.186 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.01019/0.6708, allocations: 5.25 MB / 1.5 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.6736, allocations: 1.161 MB / 1.501 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.6745, allocations: 436.9 kB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.6751, allocations: 124.8 kB / 1.502 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.6765, allocations: 0.6879 MB / 1.502 GB, free: 10.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 3.657e-06/0.6765, allocations: 4 kB / 1.502 GB, free: 10.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.004739/0.6812, allocations: 1.594 MB / 1.504 GB, free: 8.488 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.6814, allocations: 192.9 kB / 1.504 GB, free: 8.258 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.6829, allocations: 0.9284 MB / 1.505 GB, free: 7.309 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.6831, allocations: 49.7 kB / 1.505 GB, free: 7.254 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.6836, allocations: 0.6103 MB / 1.506 GB, free: 6.637 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.6841, allocations: 368.8 kB / 1.506 GB, free: 6.273 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.6844, allocations: 198.5 kB / 1.506 GB, free: 6.074 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6846, allocations: 341.9 kB / 1.507 GB, free: 5.734 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/0.6855, allocations: 381.8 kB / 1.507 GB, free: 5.359 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6865, allocations: 0.5593 MB / 1.507 GB, free: 4.738 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.6883, allocations: 0.9332 MB / 1.508 GB, free: 3.766 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6883, allocations: 3.938 kB / 1.508 GB, free: 3.762 MB / 1.201 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003024/0.6914, allocations: 1.196 MB / 1.51 GB, free: 2.551 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6914, allocations: 4 kB / 1.51 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6914, allocations: 4 kB / 1.51 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.692, allocations: 89.17 kB / 1.51 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6932, allocations: 243.7 kB / 1.51 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.6955, allocations: 1.553 MB / 1.511 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.6967, allocations: 139.2 kB / 1.511 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.6968, allocations: 43.97 kB / 1.512 GB, free: 376 kB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (123): * Single equations (assignments): 122 * 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.0007429/0.6976, allocations: 333.6 kB / 1.512 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.6979, allocations: 127.2 kB / 1.512 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.7014, allocations: 1.437 MB / 1.513 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7015, allocations: 15.98 kB / 1.513 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7015, allocations: 0 / 1.513 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.7015, allocations: 7.969 kB / 1.513 GB, free: 14.43 MB / 1.217 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 postOpt removeSimpleEquations (simulation): time 0.005794/0.7073, allocations: 2.863 MB / 1.516 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7073, allocations: 0 / 1.516 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.7083, allocations: 223.7 kB / 1.516 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/0.7088, allocations: 84.66 kB / 1.516 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.7089, allocations: 35.97 kB / 1.517 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.7112, allocations: 1.566 MB / 1.518 GB, free: 9.465 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7112, allocations: 0 / 1.518 GB, free: 9.465 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.7145, allocations: 1.335 MB / 1.519 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/0.7153, allocations: 282.7 kB / 1.52 GB, free: 7.832 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7156, allocations: 31.89 kB / 1.52 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7166, allocations: 85.73 kB / 1.52 GB, free: 7.719 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.7169, allocations: 88.83 kB / 1.52 GB, free: 7.633 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.717, allocations: 51.95 kB / 1.52 GB, free: 7.582 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001101/0.7181, allocations: 0.6389 MB / 1.52 GB, free: 6.934 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7181, allocations: 0 / 1.52 GB, free: 6.934 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001671/0.7198, allocations: 498.7 kB / 1.521 GB, free: 6.445 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * 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.005805/0.7256, allocations: 2.493 MB / 1.523 GB, free: 4.105 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.7286, allocations: 1.086 MB / 1.524 GB, free: 3.008 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.7286, allocations: 4 kB / 1.524 GB, free: 3.004 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.7301, allocations: 0.625 MB / 1.525 GB, free: 2.367 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.7328, allocations: 0.537 MB / 1.526 GB, free: 1.855 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/0.7526, allocations: 8.999 MB / 1.534 GB, free: 8.648 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7536, allocations: 1.213 MB / 1.536 GB, free: 7.402 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001569/0.7552, allocations: 398 kB / 1.536 GB, free: 7.012 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.7563, allocations: 0.5812 MB / 1.537 GB, free: 6.43 MB / 1.232 GB Notification: Performance of SimCode: time 1.422e-06/0.7563, allocations: 0 / 1.537 GB, free: 6.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/0.8454, allocations: 35.27 MB / 1.571 GB, free: 3.551 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/16.75, allocations: 9.75 kB / 1.571 GB, free: 3.543 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:time,bou.ports[1].h_outflow,senMasFra.X,senRelHum.phi,senTem.T,senTem.port_a.Xi_outflow[1] [Calling sys.exit(0), Time elapsed: 23.63703729000008]