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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 110.4 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002635/0.002635, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7635 GB, free: 10.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.2 kB / 1.108 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 168.7 MB / 1.272 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2166/0.5557, allocations: 177.6 MB / 1.446 GB, free: 9.465 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.5751, allocations: 13.04 MB / 1.459 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.5767, allocations: 31.81 kB / 1.459 GB, free: 12.35 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.5785, allocations: 488.3 kB / 1.459 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.5822, allocations: 1.043 MB / 1.46 GB, free: 10.83 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.5875, allocations: 1.914 MB / 1.462 GB, free: 8.918 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.5911, allocations: 2.531 MB / 1.464 GB, free: 6.379 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.5933, allocations: 1.282 MB / 1.466 GB, free: 5.035 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.5978, allocations: 1.463 MB / 1.467 GB, free: 3.598 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.5993, allocations: 0.9064 MB / 1.468 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.5998, allocations: 172 kB / 1.468 GB, free: 2.52 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.6033, allocations: 1.478 MB / 1.47 GB, free: 1.039 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006952/0.604, allocations: 0.4907 MB / 1.47 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.6054, allocations: 0.8786 MB / 1.471 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.6101, allocations: 2.814 MB / 1.474 GB, free: 12.84 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6101, allocations: 0 / 1.474 GB, free: 12.84 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6101, allocations: 0 / 1.474 GB, free: 12.84 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.925e-05/0.6101, allocations: 0 / 1.474 GB, free: 12.84 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.003667/0.6138, allocations: 2.088 MB / 1.476 GB, free: 10.69 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6138, allocations: 12.62 kB / 1.476 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.6141, allocations: 202.7 kB / 1.476 GB, free: 10.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.6166, allocations: 410.6 kB / 1.476 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.6182, allocations: 1.055 MB / 1.477 GB, free: 8.965 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.6183, allocations: 102.7 kB / 1.477 GB, free: 8.863 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.6184, allocations: 128 kB / 1.478 GB, free: 8.738 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.621, allocations: 1.517 MB / 1.479 GB, free: 7.145 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.6211, allocations: 11.94 kB / 1.479 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.6212, allocations: 56 kB / 1.479 GB, free: 7.078 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.6212, allocations: 36 kB / 1.479 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.624, allocations: 1.579 MB / 1.481 GB, free: 5.457 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.007754/0.6318, allocations: 5.308 MB / 1.486 GB, free: 15.83 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.6346, allocations: 1.443 MB / 1.487 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.6354, allocations: 444.1 kB / 1.488 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.6362, allocations: 429.2 kB / 1.488 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.6376, allocations: 0.6996 MB / 1.489 GB, free: 12.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 2.945e-06/0.6376, allocations: 0 / 1.489 GB, free: 12.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.004484/0.6421, allocations: 1.673 MB / 1.49 GB, free: 10.97 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.6423, allocations: 192.9 kB / 1.491 GB, free: 10.74 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.6435, allocations: 0.8922 MB / 1.492 GB, free: 9.828 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.6436, allocations: 45.7 kB / 1.492 GB, free: 9.777 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.6442, allocations: 0.6102 MB / 1.492 GB, free: 9.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.6445, allocations: 368.9 kB / 1.493 GB, free: 8.797 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.6448, allocations: 202.5 kB / 1.493 GB, free: 8.594 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.645, allocations: 349.9 kB / 1.493 GB, free: 8.246 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/0.6458, allocations: 373.8 kB / 1.493 GB, free: 7.879 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6468, allocations: 0.5593 MB / 1.494 GB, free: 7.258 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.6486, allocations: 0.9371 MB / 1.495 GB, free: 6.281 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6486, allocations: 0 / 1.495 GB, free: 6.281 MB / 1.201 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002763/0.6514, allocations: 1.192 MB / 1.496 GB, free: 5.074 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6514, allocations: 8 kB / 1.496 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6514, allocations: 4 kB / 1.496 GB, free: 5.062 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.652, allocations: 92.95 kB / 1.496 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.6531, allocations: 243.7 kB / 1.496 GB, free: 4.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.6556, allocations: 1.647 MB / 1.498 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.6567, allocations: 129.2 kB / 1.498 GB, free: 2.812 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.6568, allocations: 52.03 kB / 1.498 GB, free: 2.762 MB / 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.0007383/0.6575, allocations: 345.4 kB / 1.498 GB, free: 2.414 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.6578, allocations: 127.2 kB / 1.499 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.6613, allocations: 1.441 MB / 1.5 GB, free: 0.832 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.6613, allocations: 12 kB / 1.5 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6613, allocations: 3.938 kB / 1.5 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.6613, allocations: 11.97 kB / 1.5 GB, free: 0.8047 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 postOpt removeSimpleEquations (simulation): time 0.005406/0.6667, allocations: 2.876 MB / 1.503 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6667, allocations: 0 / 1.503 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.6677, allocations: 219.7 kB / 1.503 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.6682, allocations: 80.72 kB / 1.503 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.6683, allocations: 31.97 kB / 1.503 GB, free: 13.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.6704, allocations: 1.678 MB / 1.505 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6704, allocations: 4 kB / 1.505 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.6733, allocations: 1.327 MB / 1.506 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.674, allocations: 363.8 kB / 1.506 GB, free: 9.969 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.6742, allocations: 27.94 kB / 1.506 GB, free: 9.941 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.6752, allocations: 79.91 kB / 1.507 GB, free: 9.863 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.6754, allocations: 81.03 kB / 1.507 GB, free: 9.785 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.6756, allocations: 59.94 kB / 1.507 GB, free: 9.727 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00103/0.6766, allocations: 0.6189 MB / 1.507 GB, free: 9.098 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6766, allocations: 3.938 kB / 1.507 GB, free: 9.094 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001505/0.6781, allocations: 498.7 kB / 1.508 GB, free: 8.605 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.005645/0.6837, allocations: 2.488 MB / 1.51 GB, free: 6.289 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.6863, allocations: 1.082 MB / 1.511 GB, free: 5.195 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6863, allocations: 0 / 1.511 GB, free: 5.195 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.6876, allocations: 0.6367 MB / 1.512 GB, free: 4.547 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.69, allocations: 0.5265 MB / 1.512 GB, free: 4.043 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.7074, allocations: 8.945 MB / 1.521 GB, free: 10.89 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.7086, allocations: 1.209 MB / 1.522 GB, free: 9.648 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001565/0.7102, allocations: 385.9 kB / 1.523 GB, free: 9.27 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009893/0.7112, allocations: 0.5734 MB / 1.523 GB, free: 8.695 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/0.7112, allocations: 0 / 1.523 GB, free: 8.695 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08779/0.799, allocations: 34.25 MB / 1.557 GB, free: 6.832 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.32, allocations: 9.766 kB / 1.557 GB, free: 6.828 MB / 1.264 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_2/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.890425443067215]