Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001246/0.001246, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001362/0.001362, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.369/1.369, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.071/3.071, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.001983/0.001983, allocations: 66.88 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 180.2 MB / 1.348 GB, free: 9.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2013/0.5143, allocations: 180.4 MB / 1.524 GB, free: 4.895 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.5326, allocations: 12.95 MB / 1.537 GB, free: 7.898 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.5338, allocations: 43.69 kB / 1.537 GB, free: 7.855 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5352, allocations: 484.3 kB / 1.537 GB, free: 7.379 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.5381, allocations: 1.06 MB / 1.538 GB, free: 6.316 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.5427, allocations: 1.911 MB / 1.54 GB, free: 4.41 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.546, allocations: 2.547 MB / 1.542 GB, free: 1.855 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.5481, allocations: 1.313 MB / 1.544 GB, free: 492 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.5526, allocations: 1.637 MB / 1.545 GB, free: 14.87 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.554, allocations: 0.9025 MB / 1.546 GB, free: 13.96 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.5543, allocations: 176 kB / 1.546 GB, free: 13.79 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.5572, allocations: 1.505 MB / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.5578, allocations: 0.4906 MB / 1.548 GB, free: 11.79 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.5588, allocations: 0.8864 MB / 1.549 GB, free: 10.9 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.5634, allocations: 2.861 MB / 1.552 GB, free: 8.031 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5634, allocations: 3.938 kB / 1.552 GB, free: 8.027 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5634, allocations: 0 / 1.552 GB, free: 8.027 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.337e-05/0.5634, allocations: 0 / 1.552 GB, free: 8.027 MB / 1.248 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.004122/0.5675, allocations: 2.107 MB / 1.554 GB, free: 5.855 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5676, allocations: 11.98 kB / 1.554 GB, free: 5.844 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/0.5679, allocations: 202.7 kB / 1.554 GB, free: 5.637 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.5711, allocations: 470.4 kB / 1.555 GB, free: 5.176 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.5731, allocations: 1.051 MB / 1.556 GB, free: 4.078 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-05/0.5732, allocations: 98.72 kB / 1.556 GB, free: 3.98 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.5734, allocations: 136 kB / 1.556 GB, free: 3.848 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.5763, allocations: 1.524 MB / 1.557 GB, free: 2.246 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.5763, allocations: 0 / 1.557 GB, free: 2.246 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.5765, allocations: 56 kB / 1.557 GB, free: 2.191 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.5765, allocations: 36 kB / 1.558 GB, free: 2.156 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.5795, allocations: 1.587 MB / 1.559 GB, free: 0.5625 MB / 1.248 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.008171/0.5877, allocations: 5.428 MB / 1.564 GB, free: 10.79 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.5905, allocations: 1.455 MB / 1.566 GB, free: 9.266 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009191/0.5914, allocations: 439.6 kB / 1.566 GB, free: 8.832 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.5922, allocations: 429.3 kB / 1.567 GB, free: 8.34 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.5935, allocations: 0.6841 MB / 1.567 GB, free: 7.637 MB / 1.264 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.5935, allocations: 0 / 1.567 GB, free: 7.637 MB / 1.264 GB Notification: Performance of matching and sorting (n=107): time 0.004699/0.5982, allocations: 1.673 MB / 1.569 GB, free: 5.938 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.5984, allocations: 192.9 kB / 1.569 GB, free: 5.707 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.5998, allocations: 0.9207 MB / 1.57 GB, free: 4.766 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.5999, allocations: 49.7 kB / 1.57 GB, free: 4.711 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/0.6005, allocations: 0.618 MB / 1.571 GB, free: 4.086 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.6009, allocations: 372.8 kB / 1.571 GB, free: 3.719 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.6012, allocations: 198.5 kB / 1.571 GB, free: 3.516 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6013, allocations: 341.9 kB / 1.572 GB, free: 3.176 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008318/0.6022, allocations: 385.7 kB / 1.572 GB, free: 2.801 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6032, allocations: 0.5632 MB / 1.572 GB, free: 2.176 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6051, allocations: 0.9293 MB / 1.573 GB, free: 1.203 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6051, allocations: 0 / 1.573 GB, free: 1.203 MB / 1.264 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002976/0.608, allocations: 1.192 MB / 1.575 GB, free: 0 / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.6081, allocations: 4.047 kB / 1.575 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6081, allocations: 4 kB / 1.575 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.6087, allocations: 89.12 kB / 1.575 GB, free: 15.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6098, allocations: 247.7 kB / 1.575 GB, free: 15.66 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.6121, allocations: 1.646 MB / 1.576 GB, free: 13.87 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6133, allocations: 141.1 kB / 1.577 GB, free: 13.73 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6134, allocations: 43.97 kB / 1.577 GB, free: 13.69 MB / 1.279 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.0007133/0.6141, allocations: 334.2 kB / 1.577 GB, free: 13.35 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.6145, allocations: 135.2 kB / 1.577 GB, free: 13.22 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.618, allocations: 1.437 MB / 1.578 GB, free: 11.77 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.618, allocations: 12 kB / 1.578 GB, free: 11.76 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.618, allocations: 0 / 1.578 GB, free: 11.76 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.618, allocations: 7.984 kB / 1.578 GB, free: 11.75 MB / 1.279 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.005504/0.6235, allocations: 2.895 MB / 1.581 GB, free: 8.773 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6235, allocations: 4 kB / 1.581 GB, free: 8.77 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6245, allocations: 215.7 kB / 1.582 GB, free: 8.559 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/0.625, allocations: 80.66 kB / 1.582 GB, free: 8.477 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.6251, allocations: 35.97 kB / 1.582 GB, free: 8.441 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.6273, allocations: 1.666 MB / 1.583 GB, free: 6.621 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6273, allocations: 0 / 1.583 GB, free: 6.621 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.6305, allocations: 1.342 MB / 1.585 GB, free: 5.262 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.6312, allocations: 367.8 kB / 1.585 GB, free: 4.883 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6314, allocations: 27.92 kB / 1.585 GB, free: 4.855 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6325, allocations: 83.92 kB / 1.585 GB, free: 4.773 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.6327, allocations: 80.88 kB / 1.585 GB, free: 4.691 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6328, allocations: 51.97 kB / 1.585 GB, free: 4.641 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009804/0.6338, allocations: 0.635 MB / 1.586 GB, free: 3.996 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6338, allocations: 4 kB / 1.586 GB, free: 3.992 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001567/0.6353, allocations: 498.7 kB / 1.586 GB, free: 3.504 MB / 1.279 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.005617/0.6409, allocations: 2.478 MB / 1.589 GB, free: 1.176 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.6435, allocations: 1.082 MB / 1.59 GB, free: 84 kB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.6435, allocations: 7.938 kB / 1.59 GB, free: 76 kB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.6448, allocations: 0.629 MB / 1.59 GB, free: 15.44 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.6473, allocations: 0.5468 MB / 1.591 GB, free: 14.92 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.664, allocations: 8.99 MB / 1.6 GB, free: 5.719 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.6649, allocations: 1.217 MB / 1.601 GB, free: 4.473 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001413/0.6663, allocations: 394 kB / 1.601 GB, free: 4.086 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000974/0.6673, allocations: 0.5851 MB / 1.602 GB, free: 3.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.052e-06/0.6673, allocations: 0 / 1.602 GB, free: 3.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7105/1.378, allocations: 34.47 MB / 1.635 GB, free: 247.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/15.3, allocations: 17.19 kB / 1.635 GB, free: 247.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.794592699967325]