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.001331/0.001331, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001697/0.001697, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.82 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.893/2.893, allocations: 476 MB / 0.7699 GB, free: 4.758 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.00216/0.00216, allocations: 68.8 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1991/0.5064, allocations: 156 MB / 1.435 GB, free: 15.9 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.5252, allocations: 12.04 MB / 1.447 GB, free: 3.82 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.5265, allocations: 47.62 kB / 1.447 GB, free: 3.773 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.5281, allocations: 472.4 kB / 1.447 GB, free: 3.309 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.5315, allocations: 1.073 MB / 1.448 GB, free: 2.234 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.5364, allocations: 1.912 MB / 1.45 GB, free: 336 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.5402, allocations: 2.571 MB / 1.453 GB, free: 13.74 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.5424, allocations: 1.267 MB / 1.454 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.547, allocations: 1.489 MB / 1.455 GB, free: 10.96 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.5486, allocations: 0.836 MB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.5491, allocations: 176 kB / 1.456 GB, free: 9.945 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.5522, allocations: 1.279 MB / 1.458 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000703/0.5529, allocations: 0.5023 MB / 1.458 GB, free: 8.16 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.554, allocations: 0.7233 MB / 1.459 GB, free: 7.434 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.5587, allocations: 2.841 MB / 1.461 GB, free: 4.582 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5587, allocations: 4 kB / 1.461 GB, free: 4.578 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5587, allocations: 0 / 1.461 GB, free: 4.578 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.735e-05/0.5588, allocations: 0 / 1.461 GB, free: 4.578 MB / 1.154 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.004273/0.5631, allocations: 2.031 MB / 1.463 GB, free: 2.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5631, allocations: 12.02 kB / 1.463 GB, free: 2.488 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/0.5634, allocations: 202.7 kB / 1.464 GB, free: 2.281 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.5666, allocations: 458.5 kB / 1.464 GB, free: 1.832 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.5689, allocations: 0.9788 MB / 1.465 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.569, allocations: 102.7 kB / 1.465 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.5693, allocations: 132 kB / 1.465 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.5725, allocations: 2.022 MB / 1.467 GB, free: 14.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.5726, allocations: 4 kB / 1.467 GB, free: 14.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.5727, allocations: 64 kB / 1.467 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.5728, allocations: 35.94 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/0.5757, allocations: 1.54 MB / 1.469 GB, free: 12.72 MB / 1.17 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.007913/0.5837, allocations: 3.988 MB / 1.473 GB, free: 8.641 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5864, allocations: 1.147 MB / 1.474 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.5873, allocations: 436.9 kB / 1.474 GB, free: 7.066 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.5879, allocations: 112.9 kB / 1.474 GB, free: 6.953 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.5895, allocations: 1.058 MB / 1.475 GB, free: 5.797 MB / 1.17 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.5895, allocations: 4 kB / 1.475 GB, free: 5.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=107): time 0.004543/0.594, allocations: 1.597 MB / 1.477 GB, free: 4.184 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.5942, allocations: 192.9 kB / 1.477 GB, free: 3.953 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.5956, allocations: 0.9283 MB / 1.478 GB, free: 3.004 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.5957, allocations: 45.7 kB / 1.478 GB, free: 2.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.5963, allocations: 0.6142 MB / 1.479 GB, free: 2.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.5967, allocations: 364.9 kB / 1.479 GB, free: 1.973 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.597, allocations: 202.5 kB / 1.479 GB, free: 1.77 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5972, allocations: 345.9 kB / 1.48 GB, free: 1.426 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/0.5981, allocations: 381.7 kB / 1.48 GB, free: 1.051 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5992, allocations: 0.7389 MB / 1.481 GB, free: 212 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.601, allocations: 0.9332 MB / 1.482 GB, free: 15.23 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6011, allocations: 0 / 1.482 GB, free: 15.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002923/0.604, allocations: 1.192 MB / 1.483 GB, free: 14.03 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.604, allocations: 4 kB / 1.483 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.604, allocations: 4 kB / 1.483 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.6046, allocations: 89.17 kB / 1.483 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6058, allocations: 239.7 kB / 1.483 GB, free: 13.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.6081, allocations: 1.554 MB / 1.485 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6092, allocations: 131.2 kB / 1.485 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/0.6093, allocations: 43.98 kB / 1.485 GB, free: 11.86 MB / 1.186 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.0007005/0.61, allocations: 341.6 kB / 1.485 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.6102, allocations: 135.1 kB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.6136, allocations: 1.433 MB / 1.487 GB, free: 9.93 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6136, allocations: 15.98 kB / 1.487 GB, free: 9.914 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6136, allocations: 0 / 1.487 GB, free: 9.914 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6136, allocations: 3.984 kB / 1.487 GB, free: 9.91 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 postOpt removeSimpleEquations (simulation): time 0.005136/0.6188, allocations: 2.58 MB / 1.489 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6188, allocations: 0 / 1.489 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000995/0.6198, allocations: 223.7 kB / 1.489 GB, free: 7.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.6202, allocations: 72.72 kB / 1.489 GB, free: 6.984 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/0.6203, allocations: 31.98 kB / 1.489 GB, free: 6.953 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.6223, allocations: 1.566 MB / 1.491 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6223, allocations: 0 / 1.491 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.6253, allocations: 1.335 MB / 1.492 GB, free: 3.906 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.626, allocations: 290.7 kB / 1.493 GB, free: 3.621 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.6262, allocations: 23.94 kB / 1.493 GB, free: 3.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.6271, allocations: 84.08 kB / 1.493 GB, free: 3.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.6273, allocations: 88.83 kB / 1.493 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6274, allocations: 55.95 kB / 1.493 GB, free: 3.379 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000983/0.6284, allocations: 0.635 MB / 1.493 GB, free: 2.734 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6284, allocations: 0 / 1.493 GB, free: 2.734 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001304/0.6297, allocations: 0.4909 MB / 1.494 GB, free: 2.242 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.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.005448/0.6352, allocations: 2.516 MB / 1.496 GB, free: 15.91 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.6377, allocations: 1.082 MB / 1.497 GB, free: 14.81 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6377, allocations: 0 / 1.497 GB, free: 14.81 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.639, allocations: 0.6445 MB / 1.498 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.6415, allocations: 0.5233 MB / 1.499 GB, free: 13.66 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.6587, allocations: 8.995 MB / 1.507 GB, free: 4.453 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.6595, allocations: 0.6305 MB / 1.508 GB, free: 3.789 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001474/0.6609, allocations: 397.9 kB / 1.508 GB, free: 3.398 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008896/0.6618, allocations: 0.5851 MB / 1.509 GB, free: 2.812 MB / 1.201 GB Notification: Performance of SimCode: time 1.122e-06/0.6618, allocations: 0 / 1.509 GB, free: 2.812 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08698/0.7488, allocations: 37.07 MB / 1.545 GB, free: 14.31 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.3, allocations: 5.656 kB / 1.545 GB, free: 14.31 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.310474059078842]