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.001429/0.001429, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001571/0.001571, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.301/1.301, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.868/2.868, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.00181/0.00181, allocations: 69.59 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2748, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1844/0.4592, allocations: 180.6 MB / 1.529 GB, free: 3.141 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.4757, allocations: 13.13 MB / 1.542 GB, free: 5.961 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000979/0.4767, allocations: 43.62 kB / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4778, allocations: 492.4 kB / 1.543 GB, free: 5.434 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.4802, allocations: 1.07 MB / 1.544 GB, free: 4.363 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.4842, allocations: 1.954 MB / 1.546 GB, free: 2.414 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00269/0.4869, allocations: 2.563 MB / 1.548 GB, free: 15.84 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.4886, allocations: 1.291 MB / 1.549 GB, free: 14.49 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.4924, allocations: 1.661 MB / 1.551 GB, free: 12.86 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.4935, allocations: 0.9103 MB / 1.552 GB, free: 11.94 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.4938, allocations: 172 kB / 1.552 GB, free: 11.77 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.4963, allocations: 1.525 MB / 1.553 GB, free: 10.25 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.4967, allocations: 0.4907 MB / 1.554 GB, free: 9.754 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008132/0.4975, allocations: 0.8825 MB / 1.555 GB, free: 8.867 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.501, allocations: 2.872 MB / 1.558 GB, free: 5.984 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.501, allocations: 0 / 1.558 GB, free: 5.984 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.583e-06/0.501, allocations: 4 kB / 1.558 GB, free: 5.98 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.501, allocations: 0 / 1.558 GB, free: 5.98 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.003286/0.5043, allocations: 2.028 MB / 1.56 GB, free: 3.906 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5043, allocations: 8.031 kB / 1.56 GB, free: 3.898 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.5045, allocations: 206.7 kB / 1.56 GB, free: 3.688 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.5075, allocations: 462.5 kB / 1.56 GB, free: 3.234 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.5091, allocations: 0.9633 MB / 1.561 GB, free: 2.242 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.5092, allocations: 106.7 kB / 1.561 GB, free: 2.137 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5093, allocations: 132 kB / 1.561 GB, free: 2.008 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.5117, allocations: 1.517 MB / 1.563 GB, free: 424 kB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.5117, allocations: 11.94 kB / 1.563 GB, free: 412 kB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.5118, allocations: 56 kB / 1.563 GB, free: 356 kB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.5119, allocations: 36 kB / 1.563 GB, free: 320 kB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.5144, allocations: 1.575 MB / 1.565 GB, free: 14.73 MB / 1.264 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.006937/0.5214, allocations: 5.358 MB / 1.57 GB, free: 9.031 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.5238, allocations: 1.155 MB / 1.571 GB, free: 7.871 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.5245, allocations: 438.2 kB / 1.571 GB, free: 7.445 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/0.5251, allocations: 120.8 kB / 1.571 GB, free: 7.324 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.5263, allocations: 0.6898 MB / 1.572 GB, free: 6.617 MB / 1.264 GB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/0.5263, allocations: 3.938 kB / 1.572 GB, free: 6.613 MB / 1.264 GB Notification: Performance of matching and sorting (n=107): time 0.004091/0.5304, allocations: 1.601 MB / 1.574 GB, free: 5.004 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5305, allocations: 196.9 kB / 1.574 GB, free: 4.77 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5316, allocations: 0.9167 MB / 1.575 GB, free: 3.832 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.5317, allocations: 53.69 kB / 1.575 GB, free: 3.773 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.5322, allocations: 0.6064 MB / 1.575 GB, free: 3.16 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.5325, allocations: 372.8 kB / 1.576 GB, free: 2.793 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.5328, allocations: 202.5 kB / 1.576 GB, free: 2.59 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.533, allocations: 345.9 kB / 1.576 GB, free: 2.246 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007261/0.5337, allocations: 385.7 kB / 1.577 GB, free: 1.867 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.5346, allocations: 0.5554 MB / 1.577 GB, free: 1.25 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.5362, allocations: 0.9371 MB / 1.578 GB, free: 280 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5362, allocations: 4 kB / 1.578 GB, free: 276 kB / 1.264 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002605/0.5388, allocations: 1.185 MB / 1.579 GB, free: 15.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5388, allocations: 9.25 kB / 1.579 GB, free: 15.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5389, allocations: 4 kB / 1.579 GB, free: 15.06 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.5394, allocations: 89.02 kB / 1.579 GB, free: 14.97 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5405, allocations: 247.6 kB / 1.58 GB, free: 14.73 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.5426, allocations: 1.539 MB / 1.581 GB, free: 13.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.5435, allocations: 135.1 kB / 1.581 GB, free: 12.94 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.5436, allocations: 48.03 kB / 1.581 GB, free: 12.89 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.0005979/0.5442, allocations: 347.1 kB / 1.582 GB, free: 12.54 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.5445, allocations: 131.2 kB / 1.582 GB, free: 12.41 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.5475, allocations: 1.441 MB / 1.583 GB, free: 10.96 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.5475, allocations: 12 kB / 1.583 GB, free: 10.95 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5475, allocations: 0 / 1.583 GB, free: 10.95 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5475, allocations: 7.969 kB / 1.583 GB, free: 10.94 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.004795/0.5523, allocations: 2.863 MB / 1.586 GB, free: 8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5523, allocations: 3.984 kB / 1.586 GB, free: 7.996 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009417/0.5533, allocations: 215.7 kB / 1.586 GB, free: 7.785 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.5537, allocations: 76.72 kB / 1.586 GB, free: 7.707 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.5538, allocations: 31.98 kB / 1.586 GB, free: 7.676 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.5556, allocations: 1.574 MB / 1.588 GB, free: 5.98 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5556, allocations: 3.938 kB / 1.588 GB, free: 5.977 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.5583, allocations: 1.331 MB / 1.589 GB, free: 4.625 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/0.5589, allocations: 294.7 kB / 1.589 GB, free: 4.336 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.5591, allocations: 27.94 kB / 1.589 GB, free: 4.309 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008667/0.5599, allocations: 81.78 kB / 1.589 GB, free: 4.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5601, allocations: 84.83 kB / 1.59 GB, free: 4.148 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5602, allocations: 51.97 kB / 1.59 GB, free: 4.098 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008872/0.5611, allocations: 0.6429 MB / 1.59 GB, free: 3.445 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5611, allocations: 0 / 1.59 GB, free: 3.445 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001182/0.5623, allocations: 0.4909 MB / 1.591 GB, free: 2.953 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.004756/0.567, allocations: 2.476 MB / 1.593 GB, free: 0.625 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.5692, allocations: 1.074 MB / 1.594 GB, free: 15.54 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5692, allocations: 0 / 1.594 GB, free: 15.54 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.5704, allocations: 0.6407 MB / 1.595 GB, free: 14.88 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.5724, allocations: 0.5375 MB / 1.595 GB, free: 14.37 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.5867, allocations: 9.011 MB / 1.604 GB, free: 5.156 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.5875, allocations: 1.209 MB / 1.605 GB, free: 3.914 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001226/0.5887, allocations: 390 kB / 1.606 GB, free: 3.531 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.5895, allocations: 0.5812 MB / 1.606 GB, free: 2.949 MB / 1.295 GB Notification: Performance of SimCode: time 8.92e-07/0.5895, allocations: 8 kB / 1.606 GB, free: 2.941 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5911/1.181, allocations: 35.25 MB / 1.641 GB, free: 245.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.65, allocations: 15.89 kB / 1.641 GB, free: 245.6 MB / 1.295 GB " [Timeout remaining time 285] (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: 20.77216616199985]