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.001244/0.001244, allocations: 110 kB / 16.46 MB, free: 6.508 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.001299/0.001299, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.357/1.357, allocations: 230.6 MB / 252.8 MB, free: 9.105 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 3.032/3.032, allocations: 0.49 GB / 0.7916 GB, free: 33.48 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.00199/0.00199, allocations: 64.81 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2018/0.4953, allocations: 180.4 MB / 1.497 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.5147, allocations: 12.95 MB / 1.51 GB, free: 1.293 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.516, allocations: 47.62 kB / 1.51 GB, free: 1.246 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.5178, allocations: 488.2 kB / 1.51 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.5218, allocations: 1.052 MB / 1.511 GB, free: 15.71 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005376/0.5272, allocations: 1.913 MB / 1.513 GB, free: 13.8 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.5309, allocations: 2.543 MB / 1.515 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.5334, allocations: 1.317 MB / 1.517 GB, free: 9.875 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/0.5384, allocations: 1.642 MB / 1.518 GB, free: 8.258 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.54, allocations: 0.9025 MB / 1.519 GB, free: 7.352 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.5404, allocations: 176 kB / 1.519 GB, free: 7.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.5437, allocations: 1.505 MB / 1.521 GB, free: 5.672 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.5444, allocations: 0.4945 MB / 1.521 GB, free: 5.176 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.5459, allocations: 0.8825 MB / 1.522 GB, free: 4.289 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.5514, allocations: 2.857 MB / 1.525 GB, free: 1.422 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5514, allocations: 4 kB / 1.525 GB, free: 1.418 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5514, allocations: 0 / 1.525 GB, free: 1.418 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.69e-05/0.5514, allocations: 0 / 1.525 GB, free: 1.418 MB / 1.217 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.004922/0.5564, allocations: 2.107 MB / 1.527 GB, free: 15.24 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5564, allocations: 11.98 kB / 1.527 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.5567, allocations: 206.7 kB / 1.527 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.5602, allocations: 470.3 kB / 1.528 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.5623, allocations: 1.055 MB / 1.529 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.5624, allocations: 98.72 kB / 1.529 GB, free: 13.36 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5627, allocations: 139.9 kB / 1.529 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.5658, allocations: 1.517 MB / 1.53 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.5658, allocations: 4 kB / 1.53 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.566, allocations: 59.98 kB / 1.531 GB, free: 11.57 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.566, allocations: 36 kB / 1.531 GB, free: 11.54 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.5692, allocations: 1.579 MB / 1.532 GB, free: 9.949 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.008659/0.5778, allocations: 5.42 MB / 1.537 GB, free: 4.188 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.5808, allocations: 1.461 MB / 1.539 GB, free: 2.648 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.5818, allocations: 446 kB / 1.539 GB, free: 2.211 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000808/0.5826, allocations: 425.3 kB / 1.54 GB, free: 1.719 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.5841, allocations: 0.6996 MB / 1.54 GB, free: 1.004 MB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 3.617e-06/0.5841, allocations: 0 / 1.54 GB, free: 1.004 MB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.004956/0.589, allocations: 1.677 MB / 1.542 GB, free: 15.3 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.5892, allocations: 192.9 kB / 1.542 GB, free: 15.07 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.5907, allocations: 0.9206 MB / 1.543 GB, free: 14.12 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.5909, allocations: 49.7 kB / 1.543 GB, free: 14.07 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005827/0.5914, allocations: 0.6103 MB / 1.544 GB, free: 13.45 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.5919, allocations: 372.8 kB / 1.544 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.5922, allocations: 194.6 kB / 1.544 GB, free: 12.89 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5924, allocations: 349.9 kB / 1.545 GB, free: 12.54 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.5933, allocations: 373.8 kB / 1.545 GB, free: 12.18 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.5944, allocations: 0.5554 MB / 1.545 GB, free: 11.56 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.5963, allocations: 0.9371 MB / 1.546 GB, free: 10.58 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5963, allocations: 0 / 1.546 GB, free: 10.58 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003239/0.5996, allocations: 1.192 MB / 1.548 GB, free: 9.379 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5996, allocations: 4 kB / 1.548 GB, free: 9.375 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5996, allocations: 4 kB / 1.548 GB, free: 9.371 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.6002, allocations: 92.95 kB / 1.548 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6014, allocations: 243.7 kB / 1.548 GB, free: 9.039 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.6038, allocations: 1.65 MB / 1.549 GB, free: 7.246 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.6051, allocations: 136.7 kB / 1.55 GB, free: 7.113 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.6053, allocations: 47.98 kB / 1.55 GB, free: 7.066 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.0008032/0.6061, allocations: 339.1 kB / 1.55 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.6065, allocations: 131.2 kB / 1.55 GB, free: 6.598 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.6102, allocations: 1.441 MB / 1.552 GB, free: 5.141 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.6102, allocations: 15.98 kB / 1.552 GB, free: 5.125 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6102, allocations: 0 / 1.552 GB, free: 5.125 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.6102, allocations: 7.984 kB / 1.552 GB, free: 5.117 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.005998/0.6162, allocations: 2.892 MB / 1.554 GB, free: 2.141 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6162, allocations: 0 / 1.554 GB, free: 2.141 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6173, allocations: 219.7 kB / 1.555 GB, free: 1.926 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/0.6178, allocations: 76.72 kB / 1.555 GB, free: 1.848 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.6179, allocations: 35.97 kB / 1.555 GB, free: 1.812 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.62, allocations: 1.666 MB / 1.556 GB, free: 0 / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.62, allocations: 0 / 1.556 GB, free: 0 / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.6233, allocations: 1.335 MB / 1.558 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.624, allocations: 375.7 kB / 1.558 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.6242, allocations: 27.92 kB / 1.558 GB, free: 14.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.6253, allocations: 77.34 kB / 1.558 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.6255, allocations: 84.88 kB / 1.558 GB, free: 14.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.6256, allocations: 47.97 kB / 1.558 GB, free: 14.03 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00103/0.6267, allocations: 0.6506 MB / 1.559 GB, free: 13.37 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6267, allocations: 0 / 1.559 GB, free: 13.37 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001458/0.6281, allocations: 0.4909 MB / 1.559 GB, free: 12.88 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.005601/0.6337, allocations: 2.482 MB / 1.562 GB, free: 10.54 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.6364, allocations: 1.078 MB / 1.563 GB, free: 9.449 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6364, allocations: 0 / 1.563 GB, free: 9.449 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.6378, allocations: 0.6328 MB / 1.563 GB, free: 8.805 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.6405, allocations: 0.5343 MB / 1.564 GB, free: 8.297 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.6581, allocations: 9.002 MB / 1.573 GB, free: 15.09 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.6592, allocations: 1.211 MB / 1.574 GB, free: 13.85 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001605/0.6608, allocations: 394 kB / 1.574 GB, free: 13.46 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.6618, allocations: 0.5773 MB / 1.575 GB, free: 12.88 MB / 1.279 GB Notification: Performance of SimCode: time 1.593e-06/0.6618, allocations: 0 / 1.575 GB, free: 12.88 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7051/1.367, allocations: 34.48 MB / 1.609 GB, free: 276.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.35, allocations: 3.797 kB / 1.609 GB, free: 276.6 MB / 1.295 GB " [Timeout remaining time 284] (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: 21.750238437904045]