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.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.00192/0.00192, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002371/0.002371, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.575/1.575, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.018/3.018, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002134/0.002134, allocations: 71.91 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8546, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2224/1.077, allocations: 180.3 MB / 1.454 GB, free: 8.438 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01995/1.097, allocations: 12.96 MB / 1.467 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/1.099, allocations: 43.62 kB / 1.467 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/1.102, allocations: 492.3 kB / 1.468 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005029/1.107, allocations: 1.059 MB / 1.469 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005874/1.112, allocations: 1.901 MB / 1.47 GB, free: 7.953 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004156/1.117, allocations: 2.571 MB / 1.473 GB, free: 5.371 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/1.119, allocations: 1.313 MB / 1.474 GB, free: 4 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/1.124, allocations: 1.494 MB / 1.476 GB, free: 2.531 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/1.126, allocations: 0.918 MB / 1.477 GB, free: 1.609 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000537/1.126, allocations: 176 kB / 1.477 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00379/1.13, allocations: 1.505 MB / 1.478 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009501/1.131, allocations: 0.4984 MB / 1.479 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/1.133, allocations: 0.8825 MB / 1.48 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005974/1.139, allocations: 2.857 MB / 1.482 GB, free: 11.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.139, allocations: 8 kB / 1.482 GB, free: 11.67 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/1.139, allocations: 0 / 1.482 GB, free: 11.67 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.497e-05/1.139, allocations: 0 / 1.482 GB, free: 11.67 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.004934/1.144, allocations: 2.107 MB / 1.484 GB, free: 9.496 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.144, allocations: 12.03 kB / 1.484 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003907/1.144, allocations: 206.7 kB / 1.485 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003752/1.148, allocations: 466.5 kB / 1.485 GB, free: 8.816 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/1.151, allocations: 1.047 MB / 1.486 GB, free: 7.723 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/1.151, allocations: 102.7 kB / 1.486 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/1.151, allocations: 132 kB / 1.486 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/1.155, allocations: 1.524 MB / 1.488 GB, free: 5.891 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.155, allocations: 3.938 kB / 1.488 GB, free: 5.887 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/1.155, allocations: 60 kB / 1.488 GB, free: 5.828 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/1.155, allocations: 32 kB / 1.488 GB, free: 5.797 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/1.159, allocations: 1.587 MB / 1.489 GB, free: 4.203 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.009147/1.168, allocations: 5.331 MB / 1.495 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/1.171, allocations: 1.451 MB / 1.496 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009897/1.172, allocations: 436.9 kB / 1.496 GB, free: 12.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008762/1.173, allocations: 429.3 kB / 1.497 GB, free: 12.11 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/1.174, allocations: 0.688 MB / 1.498 GB, free: 11.4 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 4.248e-06/1.174, allocations: 0 / 1.498 GB, free: 11.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.005082/1.179, allocations: 1.673 MB / 1.499 GB, free: 9.699 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.179, allocations: 200.9 kB / 1.499 GB, free: 9.461 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.181, allocations: 0.9128 MB / 1.5 GB, free: 8.527 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.181, allocations: 53.69 kB / 1.5 GB, free: 8.469 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/1.182, allocations: 0.6142 MB / 1.501 GB, free: 7.848 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/1.182, allocations: 368.9 kB / 1.501 GB, free: 7.484 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/1.183, allocations: 194.6 kB / 1.501 GB, free: 7.285 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.183, allocations: 345.9 kB / 1.502 GB, free: 6.941 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008757/1.184, allocations: 381.8 kB / 1.502 GB, free: 6.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.185, allocations: 0.5593 MB / 1.503 GB, free: 5.949 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/1.187, allocations: 0.9371 MB / 1.504 GB, free: 4.969 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/1.187, allocations: 0 / 1.504 GB, free: 4.969 MB / 1.201 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003093/1.19, allocations: 1.193 MB / 1.505 GB, free: 3.77 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.19, allocations: 8.031 kB / 1.505 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.19, allocations: 4 kB / 1.505 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/1.191, allocations: 88.7 kB / 1.505 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.192, allocations: 247.6 kB / 1.505 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/1.194, allocations: 1.659 MB / 1.507 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.195, allocations: 127.2 kB / 1.507 GB, free: 1.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.196, allocations: 43.97 kB / 1.507 GB, free: 1.457 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.0008372/1.196, allocations: 353.6 kB / 1.507 GB, free: 1.102 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/1.197, allocations: 127.2 kB / 1.507 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/1.201, allocations: 1.425 MB / 1.509 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.201, allocations: 15.98 kB / 1.509 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.201, allocations: 4 kB / 1.509 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.201, allocations: 3.984 kB / 1.509 GB, free: 15.51 MB / 1.217 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.005829/1.207, allocations: 2.892 MB / 1.512 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.207, allocations: 0 / 1.512 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.208, allocations: 219.7 kB / 1.512 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004933/1.208, allocations: 76.72 kB / 1.512 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.208, allocations: 35.97 kB / 1.512 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/1.211, allocations: 1.678 MB / 1.514 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.211, allocations: 0 / 1.514 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/1.214, allocations: 1.335 MB / 1.515 GB, free: 9.035 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/1.215, allocations: 363.8 kB / 1.515 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.215, allocations: 31.89 kB / 1.515 GB, free: 8.629 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.216, allocations: 82.72 kB / 1.515 GB, free: 8.551 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/1.216, allocations: 84.88 kB / 1.515 GB, free: 8.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.216, allocations: 51.97 kB / 1.515 GB, free: 8.414 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001143/1.217, allocations: 0.6389 MB / 1.516 GB, free: 7.766 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.217, allocations: 0 / 1.516 GB, free: 7.766 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001565/1.219, allocations: 0.4909 MB / 1.517 GB, free: 7.273 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.005882/1.225, allocations: 2.486 MB / 1.519 GB, free: 4.941 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002903/1.228, allocations: 1.078 MB / 1.52 GB, free: 3.848 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.228, allocations: 3.938 kB / 1.52 GB, free: 3.844 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.229, allocations: 0.6329 MB / 1.521 GB, free: 3.203 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.232, allocations: 0.5341 MB / 1.521 GB, free: 2.691 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.251, allocations: 9.006 MB / 1.53 GB, free: 9.473 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.252, allocations: 1.213 MB / 1.531 GB, free: 8.23 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001678/1.254, allocations: 390 kB / 1.532 GB, free: 7.848 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.255, allocations: 0.5734 MB / 1.532 GB, free: 7.273 MB / 1.232 GB Notification: Performance of SimCode: time 1.182e-06/1.255, allocations: 0 / 1.532 GB, free: 7.273 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09324/1.348, allocations: 34.5 MB / 1.566 GB, free: 5.199 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.42, allocations: 11.25 kB / 1.566 GB, free: 5.191 MB / 1.264 GB " [Timeout remaining time 283] (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/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: 23.186029992997646]