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.001428/0.001428, allocations: 113 kB / 18.94 MB, free: 2.934 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.001616/0.001616, allocations: 209.4 kB / 22.25 MB, free: 5.086 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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.833/2.833, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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.001859/0.001859, allocations: 61.39 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1847/0.4564, allocations: 180.6 MB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.4733, allocations: 13.14 MB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.4746, allocations: 43.62 kB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.4758, allocations: 492.4 kB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.4785, allocations: 1.083 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.4827, allocations: 1.947 MB / 1.519 GB, free: 11.92 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002874/0.4856, allocations: 2.559 MB / 1.521 GB, free: 9.352 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.4873, allocations: 1.306 MB / 1.522 GB, free: 7.984 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004032/0.4913, allocations: 1.644 MB / 1.524 GB, free: 6.363 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.4926, allocations: 0.9142 MB / 1.525 GB, free: 5.445 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.4929, allocations: 175.9 kB / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.4956, allocations: 1.525 MB / 1.526 GB, free: 3.746 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.496, allocations: 0.4906 MB / 1.527 GB, free: 3.254 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.4969, allocations: 0.8825 MB / 1.528 GB, free: 2.367 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.5004, allocations: 2.865 MB / 1.531 GB, free: 15.49 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5004, allocations: 0 / 1.531 GB, free: 15.49 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5004, allocations: 0 / 1.531 GB, free: 15.49 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.127e-05/0.5004, allocations: 0 / 1.531 GB, free: 15.49 MB / 1.232 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.003617/0.504, allocations: 2.035 MB / 1.533 GB, free: 13.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5041, allocations: 8.031 kB / 1.533 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.5043, allocations: 202.7 kB / 1.533 GB, free: 13.2 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.5073, allocations: 470.4 kB / 1.533 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.5091, allocations: 0.9632 MB / 1.534 GB, free: 11.74 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.5092, allocations: 106.7 kB / 1.534 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.5094, allocations: 128 kB / 1.534 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.5119, allocations: 1.524 MB / 1.536 GB, free: 9.906 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.5119, allocations: 7.938 kB / 1.536 GB, free: 9.898 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.512, allocations: 60 kB / 1.536 GB, free: 9.84 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.512, allocations: 40 kB / 1.536 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.5147, allocations: 1.579 MB / 1.538 GB, free: 8.215 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 preOpt removeSimpleEquations (simulation): time 0.007104/0.5218, allocations: 5.343 MB / 1.543 GB, free: 2.531 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.5241, allocations: 1.154 MB / 1.544 GB, free: 1.367 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/0.5248, allocations: 439.6 kB / 1.544 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/0.5254, allocations: 120.8 kB / 1.544 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.5266, allocations: 0.6879 MB / 1.545 GB, free: 108 kB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 2.275e-06/0.5266, allocations: 3.938 kB / 1.545 GB, free: 104 kB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004071/0.5307, allocations: 1.598 MB / 1.547 GB, free: 14.49 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.5308, allocations: 196.9 kB / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.532, allocations: 0.9167 MB / 1.548 GB, free: 13.32 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.5321, allocations: 53.69 kB / 1.548 GB, free: 13.26 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.5326, allocations: 0.6102 MB / 1.548 GB, free: 12.65 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.5329, allocations: 376.8 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.5332, allocations: 194.6 kB / 1.549 GB, free: 12.08 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5333, allocations: 341.9 kB / 1.549 GB, free: 11.74 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.5341, allocations: 381.8 kB / 1.55 GB, free: 11.37 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009052/0.535, allocations: 0.5593 MB / 1.55 GB, free: 10.75 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.5366, allocations: 0.9371 MB / 1.551 GB, free: 9.766 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5366, allocations: 0 / 1.551 GB, free: 9.766 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00257/0.5392, allocations: 1.189 MB / 1.552 GB, free: 8.57 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5392, allocations: 14.19 kB / 1.552 GB, free: 8.559 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5392, allocations: 4 kB / 1.552 GB, free: 8.555 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.5398, allocations: 88.77 kB / 1.552 GB, free: 8.465 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5409, allocations: 251.5 kB / 1.553 GB, free: 8.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.5429, allocations: 1.541 MB / 1.554 GB, free: 6.559 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.5438, allocations: 135.1 kB / 1.554 GB, free: 6.426 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.5439, allocations: 43.97 kB / 1.554 GB, free: 6.383 MB / 1.248 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.0005656/0.5444, allocations: 349.6 kB / 1.555 GB, free: 6.031 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5447, allocations: 131.2 kB / 1.555 GB, free: 5.902 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.5477, allocations: 1.433 MB / 1.556 GB, free: 4.457 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5477, allocations: 12 kB / 1.556 GB, free: 4.445 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5477, allocations: 0 / 1.556 GB, free: 4.445 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.5477, allocations: 11.97 kB / 1.556 GB, free: 4.434 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 postOpt removeSimpleEquations (simulation): time 0.004702/0.5524, allocations: 2.867 MB / 1.559 GB, free: 1.488 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.5524, allocations: 3.984 kB / 1.559 GB, free: 1.484 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009309/0.5533, allocations: 219.7 kB / 1.559 GB, free: 1.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.5538, allocations: 80.72 kB / 1.559 GB, free: 1.188 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/0.5538, allocations: 27.98 kB / 1.559 GB, free: 1.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.5557, allocations: 1.566 MB / 1.561 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5557, allocations: 0 / 1.561 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.5582, allocations: 1.327 MB / 1.562 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/0.5588, allocations: 298.8 kB / 1.562 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.559, allocations: 31.92 kB / 1.562 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.5599, allocations: 80.52 kB / 1.563 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.56, allocations: 88.83 kB / 1.563 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5601, allocations: 47.97 kB / 1.563 GB, free: 13.59 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009144/0.5611, allocations: 0.6389 MB / 1.563 GB, free: 12.94 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.5611, allocations: 4 kB / 1.563 GB, free: 12.94 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001281/0.5623, allocations: 0.4909 MB / 1.564 GB, free: 12.45 MB / 1.264 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.004908/0.5672, allocations: 2.492 MB / 1.566 GB, free: 10.11 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.5695, allocations: 1.078 MB / 1.567 GB, free: 9.016 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5695, allocations: 0 / 1.567 GB, free: 9.016 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5706, allocations: 0.6406 MB / 1.568 GB, free: 8.367 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5727, allocations: 0.523 MB / 1.568 GB, free: 7.867 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.587, allocations: 9.003 MB / 1.577 GB, free: 14.65 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.5878, allocations: 1.213 MB / 1.578 GB, free: 13.41 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001266/0.5891, allocations: 398 kB / 1.579 GB, free: 13.02 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.5899, allocations: 0.5773 MB / 1.579 GB, free: 12.44 MB / 1.279 GB Notification: Performance of SimCode: time 8.32e-07/0.5899, allocations: 0 / 1.579 GB, free: 12.44 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5796/1.169, allocations: 35.27 MB / 1.614 GB, free: 276 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.53, allocations: 7.5 kB / 1.614 GB, free: 276 MB / 1.295 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.548489419999896]