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.001234/0.001234, allocations: 99.75 kB / 18.94 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.001401/0.001401, allocations: 215.6 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.805 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.965/2.965, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.001917/0.001917, allocations: 69.52 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1883/0.5124, allocations: 156 MB / 1.478 GB, free: 4.902 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.5302, allocations: 12.04 MB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.5315, allocations: 43.62 kB / 1.49 GB, free: 8.785 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.5328, allocations: 476.4 kB / 1.49 GB, free: 8.316 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.536, allocations: 1.069 MB / 1.492 GB, free: 7.246 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.5408, allocations: 1.903 MB / 1.493 GB, free: 5.348 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003454/0.5443, allocations: 2.574 MB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.5463, allocations: 1.291 MB / 1.497 GB, free: 1.418 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004646/0.5509, allocations: 1.648 MB / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.5523, allocations: 0.8986 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.5526, allocations: 176 kB / 1.5 GB, free: 14.72 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.5553, allocations: 1.302 MB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.5557, allocations: 0.4985 MB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.5566, allocations: 0.7233 MB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.5606, allocations: 2.845 MB / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5606, allocations: 0 / 1.505 GB, free: 9.332 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5606, allocations: 4 kB / 1.505 GB, free: 9.328 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.5606, allocations: 0 / 1.505 GB, free: 9.328 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.003466/0.5641, allocations: 2.031 MB / 1.507 GB, free: 7.25 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5641, allocations: 12.03 kB / 1.507 GB, free: 7.238 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.5644, allocations: 210.7 kB / 1.507 GB, free: 7.023 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.5674, allocations: 462.5 kB / 1.508 GB, free: 6.57 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.5691, allocations: 0.9633 MB / 1.509 GB, free: 5.574 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/0.5692, allocations: 102.7 kB / 1.509 GB, free: 5.473 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.5694, allocations: 136 kB / 1.509 GB, free: 5.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.5723, allocations: 2.027 MB / 1.511 GB, free: 3.113 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.5723, allocations: 0 / 1.511 GB, free: 3.113 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.5725, allocations: 63.94 kB / 1.511 GB, free: 3.051 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.5725, allocations: 32 kB / 1.511 GB, free: 3.02 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.5752, allocations: 1.54 MB / 1.512 GB, free: 1.473 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.00687/0.5821, allocations: 3.989 MB / 1.516 GB, free: 13.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5844, allocations: 1.14 MB / 1.517 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/0.5853, allocations: 450.2 kB / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.5858, allocations: 112.9 kB / 1.518 GB, free: 11.69 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.5873, allocations: 1.043 MB / 1.519 GB, free: 10.54 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.397e-06/0.5873, allocations: 3.938 kB / 1.519 GB, free: 10.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004266/0.5916, allocations: 1.609 MB / 1.521 GB, free: 8.918 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5917, allocations: 192.9 kB / 1.521 GB, free: 8.688 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.593, allocations: 0.9245 MB / 1.522 GB, free: 7.742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5931, allocations: 49.7 kB / 1.522 GB, free: 7.688 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.5937, allocations: 0.6102 MB / 1.522 GB, free: 7.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.5941, allocations: 368.9 kB / 1.523 GB, free: 6.707 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.5944, allocations: 194.6 kB / 1.523 GB, free: 6.508 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5945, allocations: 345.9 kB / 1.523 GB, free: 6.164 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.5953, allocations: 377.8 kB / 1.524 GB, free: 5.797 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5963, allocations: 0.7389 MB / 1.524 GB, free: 4.953 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.598, allocations: 0.9371 MB / 1.525 GB, free: 3.973 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5981, allocations: 0 / 1.525 GB, free: 3.973 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002654/0.6007, allocations: 1.192 MB / 1.526 GB, free: 2.773 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6007, allocations: 4 kB / 1.526 GB, free: 2.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6007, allocations: 4 kB / 1.526 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.6013, allocations: 93.09 kB / 1.526 GB, free: 2.672 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.6024, allocations: 243.7 kB / 1.527 GB, free: 2.434 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.6045, allocations: 1.546 MB / 1.528 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6055, allocations: 138.1 kB / 1.528 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/0.6056, allocations: 43.97 kB / 1.528 GB, free: 0.5898 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.0006632/0.6062, allocations: 343.5 kB / 1.529 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.6065, allocations: 127.2 kB / 1.529 GB, free: 124 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.6096, allocations: 1.437 MB / 1.53 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6096, allocations: 12 kB / 1.53 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6096, allocations: 4 kB / 1.53 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.6096, allocations: 7.969 kB / 1.53 GB, free: 14.64 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.00473/0.6143, allocations: 2.572 MB / 1.533 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6143, allocations: 4 kB / 1.533 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.6153, allocations: 219.7 kB / 1.533 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.6157, allocations: 76.72 kB / 1.533 GB, free: 11.73 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.6158, allocations: 31.97 kB / 1.533 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.6177, allocations: 1.566 MB / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6177, allocations: 0 / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.6204, allocations: 1.338 MB / 1.536 GB, free: 8.648 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.6212, allocations: 282.8 kB / 1.536 GB, free: 8.371 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.6213, allocations: 27.94 kB / 1.536 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.6222, allocations: 77.94 kB / 1.536 GB, free: 8.27 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6224, allocations: 92.83 kB / 1.536 GB, free: 8.176 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.6225, allocations: 51.97 kB / 1.536 GB, free: 8.125 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009203/0.6234, allocations: 0.6389 MB / 1.537 GB, free: 7.477 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6234, allocations: 0 / 1.537 GB, free: 7.477 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001261/0.6247, allocations: 498.7 kB / 1.538 GB, free: 6.988 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.005102/0.6298, allocations: 2.531 MB / 1.54 GB, free: 4.645 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.632, allocations: 1.078 MB / 1.541 GB, free: 3.551 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.632, allocations: 0 / 1.541 GB, free: 3.551 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.6333, allocations: 0.6406 MB / 1.542 GB, free: 2.902 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6355, allocations: 0.5352 MB / 1.542 GB, free: 2.391 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.6507, allocations: 8.992 MB / 1.551 GB, free: 9.184 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.6514, allocations: 0.6303 MB / 1.552 GB, free: 8.523 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001332/0.6527, allocations: 394 kB / 1.552 GB, free: 8.137 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/0.6536, allocations: 0.5812 MB / 1.553 GB, free: 7.555 MB / 1.248 GB Notification: Performance of SimCode: time 1.182e-06/0.6536, allocations: 0 / 1.553 GB, free: 7.555 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/0.7346, allocations: 37.41 MB / 1.589 GB, free: 2.672 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.12, allocations: 5.953 kB / 1.589 GB, free: 2.668 MB / 1.279 GB " [Timeout remaining time 286] (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.519445849000476]