Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001491/0.001491, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001643/0.001643, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.993/2.993, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 68.69 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.186/0.4953, allocations: 156 MB / 1.477 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.5129, allocations: 12.05 MB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.5145, allocations: 43.62 kB / 1.489 GB, free: 9.605 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.5158, allocations: 476.4 kB / 1.49 GB, free: 9.137 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.5189, allocations: 1.08 MB / 1.491 GB, free: 8.055 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.5234, allocations: 1.882 MB / 1.493 GB, free: 6.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.5265, allocations: 2.567 MB / 1.495 GB, free: 3.605 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.5284, allocations: 1.263 MB / 1.496 GB, free: 2.281 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.5329, allocations: 1.641 MB / 1.498 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.5342, allocations: 0.8205 MB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.5345, allocations: 176 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.537, allocations: 1.283 MB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.5375, allocations: 0.5063 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007851/0.5382, allocations: 0.7193 MB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.5423, allocations: 2.853 MB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5423, allocations: 0 / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5423, allocations: 0 / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.717e-05/0.5423, allocations: 0 / 1.504 GB, free: 10.29 MB / 1.201 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.00356/0.5459, allocations: 2.035 MB / 1.506 GB, free: 8.207 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5459, allocations: 12.03 kB / 1.506 GB, free: 8.195 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.5462, allocations: 202.7 kB / 1.506 GB, free: 7.988 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.5491, allocations: 462.5 kB / 1.507 GB, free: 7.535 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.5509, allocations: 0.9633 MB / 1.508 GB, free: 6.539 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.903e-05/0.551, allocations: 102.7 kB / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.5512, allocations: 132 kB / 1.508 GB, free: 6.309 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/0.5541, allocations: 2.022 MB / 1.51 GB, free: 4.086 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.5541, allocations: 0 / 1.51 GB, free: 4.086 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.5542, allocations: 64 kB / 1.51 GB, free: 4.023 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.5543, allocations: 35.98 kB / 1.51 GB, free: 3.988 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.5569, allocations: 1.528 MB / 1.512 GB, free: 2.453 MB / 1.201 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.006729/0.5636, allocations: 4.002 MB / 1.515 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.5661, allocations: 1.149 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008167/0.5669, allocations: 443.6 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.5674, allocations: 112.9 kB / 1.517 GB, free: 12.66 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.5688, allocations: 1.039 MB / 1.518 GB, free: 11.51 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 2.555e-06/0.5688, allocations: 4 kB / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004269/0.5731, allocations: 1.605 MB / 1.52 GB, free: 9.895 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5732, allocations: 192.9 kB / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.5745, allocations: 0.9284 MB / 1.521 GB, free: 8.715 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.5746, allocations: 49.7 kB / 1.521 GB, free: 8.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.5751, allocations: 0.622 MB / 1.521 GB, free: 8.031 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.5755, allocations: 364.9 kB / 1.522 GB, free: 7.672 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.5758, allocations: 198.5 kB / 1.522 GB, free: 7.469 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5759, allocations: 345.9 kB / 1.522 GB, free: 7.125 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/0.5767, allocations: 365.8 kB / 1.523 GB, free: 6.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.5778, allocations: 0.739 MB / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.5795, allocations: 0.937 MB / 1.524 GB, free: 4.941 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5795, allocations: 0 / 1.524 GB, free: 4.941 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002715/0.5822, allocations: 1.196 MB / 1.525 GB, free: 3.738 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5822, allocations: 5.875 kB / 1.525 GB, free: 3.734 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5822, allocations: 7.938 kB / 1.525 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.5828, allocations: 85.19 kB / 1.526 GB, free: 3.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5838, allocations: 247.7 kB / 1.526 GB, free: 3.398 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.5859, allocations: 1.554 MB / 1.527 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/0.5868, allocations: 127.2 kB / 1.527 GB, free: 1.598 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.5869, allocations: 43.97 kB / 1.527 GB, free: 1.555 MB / 1.217 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.0006055/0.5875, allocations: 345.6 kB / 1.528 GB, free: 1.207 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.5877, allocations: 127.2 kB / 1.528 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.5908, allocations: 1.437 MB / 1.529 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5908, allocations: 12 kB / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.5909, allocations: 0 / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.5909, allocations: 7.984 kB / 1.529 GB, free: 15.61 MB / 1.232 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.004704/0.5956, allocations: 2.572 MB / 1.532 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5956, allocations: 0 / 1.532 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/0.5965, allocations: 223.7 kB / 1.532 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.597, allocations: 76.7 kB / 1.532 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.597, allocations: 35.97 kB / 1.532 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.5989, allocations: 1.562 MB / 1.534 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5989, allocations: 0 / 1.534 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.6017, allocations: 1.331 MB / 1.535 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.6025, allocations: 278.8 kB / 1.535 GB, free: 9.352 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6026, allocations: 35.86 kB / 1.535 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.6035, allocations: 88.53 kB / 1.535 GB, free: 9.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.6037, allocations: 92.77 kB / 1.535 GB, free: 9.137 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6038, allocations: 55.91 kB / 1.535 GB, free: 9.082 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008924/0.6047, allocations: 0.635 MB / 1.536 GB, free: 8.438 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6047, allocations: 0 / 1.536 GB, free: 8.438 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001182/0.6059, allocations: 0.491 MB / 1.537 GB, free: 7.945 MB / 1.232 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.005107/0.611, allocations: 2.522 MB / 1.539 GB, free: 5.613 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.6133, allocations: 1.082 MB / 1.54 GB, free: 4.52 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6133, allocations: 0 / 1.54 GB, free: 4.52 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.6145, allocations: 0.6406 MB / 1.541 GB, free: 3.867 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.6168, allocations: 0.5234 MB / 1.541 GB, free: 3.363 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.6324, allocations: 9.001 MB / 1.55 GB, free: 10.15 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.6331, allocations: 0.6289 MB / 1.551 GB, free: 9.488 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6344, allocations: 390 kB / 1.551 GB, free: 9.105 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/0.6353, allocations: 0.589 MB / 1.552 GB, free: 8.516 MB / 1.248 GB Notification: Performance of SimCode: time 1.022e-06/0.6353, allocations: 0 / 1.552 GB, free: 8.516 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08317/0.7185, allocations: 37.08 MB / 1.588 GB, free: 3.973 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.46, allocations: 0 / 1.588 GB, free: 3.973 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.945975076407194]