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.001263/0.001263, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001456/0.001456, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.023/3.023, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001931/0.001931, allocations: 71.39 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3114, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1806/0.492, allocations: 156 MB / 1.516 GB, free: 1.48 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.5088, allocations: 12.06 MB / 1.528 GB, free: 5.391 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.51, allocations: 39.69 kB / 1.528 GB, free: 5.352 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.5113, allocations: 484.3 kB / 1.528 GB, free: 4.875 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.5141, allocations: 1.067 MB / 1.529 GB, free: 3.805 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.5184, allocations: 1.902 MB / 1.531 GB, free: 1.91 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.5212, allocations: 2.555 MB / 1.533 GB, free: 15.35 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.5229, allocations: 1.271 MB / 1.535 GB, free: 14.02 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.5267, allocations: 1.638 MB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.5278, allocations: 0.8243 MB / 1.537 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.5281, allocations: 172 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.5305, allocations: 1.283 MB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.5309, allocations: 0.4984 MB / 1.539 GB, free: 9.621 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.5316, allocations: 0.7194 MB / 1.54 GB, free: 8.898 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.5351, allocations: 2.849 MB / 1.542 GB, free: 6.039 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5351, allocations: 0 / 1.542 GB, free: 6.039 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5351, allocations: 0 / 1.542 GB, free: 6.039 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.5351, allocations: 7.938 kB / 1.542 GB, free: 6.031 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.003271/0.5384, allocations: 2.034 MB / 1.544 GB, free: 3.953 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5385, allocations: 8.031 kB / 1.544 GB, free: 3.945 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.5387, allocations: 202.7 kB / 1.545 GB, free: 3.738 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.5415, allocations: 466.5 kB / 1.545 GB, free: 3.281 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.5432, allocations: 0.9633 MB / 1.546 GB, free: 2.285 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.5433, allocations: 98.72 kB / 1.546 GB, free: 2.188 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5435, allocations: 140 kB / 1.546 GB, free: 2.051 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.5462, allocations: 2.024 MB / 1.548 GB, free: 15.83 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5462, allocations: 0 / 1.548 GB, free: 15.83 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5463, allocations: 60 kB / 1.548 GB, free: 15.77 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.5464, allocations: 32 kB / 1.548 GB, free: 15.74 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.549, allocations: 1.544 MB / 1.55 GB, free: 14.19 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 preOpt removeSimpleEquations (simulation): time 0.006413/0.5554, allocations: 3.987 MB / 1.554 GB, free: 10.11 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.5577, allocations: 1.14 MB / 1.555 GB, free: 8.969 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.5585, allocations: 444.1 kB / 1.555 GB, free: 8.531 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.559, allocations: 116.9 kB / 1.555 GB, free: 8.418 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.5603, allocations: 1.035 MB / 1.556 GB, free: 7.277 MB / 1.248 GB Notification: Performance of pre-optimization done (n=107): time 2.685e-06/0.5603, allocations: 3.938 kB / 1.556 GB, free: 7.273 MB / 1.248 GB Notification: Performance of matching and sorting (n=107): time 0.004041/0.5644, allocations: 1.613 MB / 1.558 GB, free: 5.652 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5645, allocations: 192.9 kB / 1.558 GB, free: 5.422 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5657, allocations: 0.9245 MB / 1.559 GB, free: 4.477 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.5657, allocations: 49.7 kB / 1.559 GB, free: 4.422 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.5663, allocations: 0.6103 MB / 1.56 GB, free: 3.805 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.5666, allocations: 372.9 kB / 1.56 GB, free: 3.438 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.5669, allocations: 198.5 kB / 1.56 GB, free: 3.234 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.567, allocations: 341.9 kB / 1.561 GB, free: 2.895 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/0.5679, allocations: 377.8 kB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.569, allocations: 0.7389 MB / 1.562 GB, free: 1.684 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.5706, allocations: 0.9332 MB / 1.563 GB, free: 0.707 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.5706, allocations: 4 kB / 1.563 GB, free: 0.7031 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002557/0.5732, allocations: 1.192 MB / 1.564 GB, free: 15.5 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5732, allocations: 8 kB / 1.564 GB, free: 15.49 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5732, allocations: 4 kB / 1.564 GB, free: 15.49 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005643/0.5738, allocations: 89.08 kB / 1.564 GB, free: 15.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5748, allocations: 243.7 kB / 1.564 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.5768, allocations: 1.549 MB / 1.566 GB, free: 13.49 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.5777, allocations: 131.3 kB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/0.5778, allocations: 47.97 kB / 1.566 GB, free: 13.32 MB / 1.264 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.0005708/0.5784, allocations: 341.7 kB / 1.566 GB, free: 12.97 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.5786, allocations: 131.2 kB / 1.566 GB, free: 12.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.5817, allocations: 1.429 MB / 1.568 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.5817, allocations: 15.98 kB / 1.568 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.5817, allocations: 4 kB / 1.568 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5817, allocations: 3.984 kB / 1.568 GB, free: 11.38 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 postOpt removeSimpleEquations (simulation): time 0.004555/0.5863, allocations: 2.58 MB / 1.57 GB, free: 8.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5863, allocations: 0 / 1.57 GB, free: 8.75 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/0.5872, allocations: 215.8 kB / 1.57 GB, free: 8.539 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.5876, allocations: 84.66 kB / 1.57 GB, free: 8.453 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.5877, allocations: 31.97 kB / 1.57 GB, free: 8.422 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.5895, allocations: 1.551 MB / 1.572 GB, free: 6.746 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5895, allocations: 3.984 kB / 1.572 GB, free: 6.742 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.5921, allocations: 1.335 MB / 1.573 GB, free: 5.391 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/0.5927, allocations: 290.7 kB / 1.574 GB, free: 5.105 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.5929, allocations: 35.86 kB / 1.574 GB, free: 5.07 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.5938, allocations: 78.27 kB / 1.574 GB, free: 4.996 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.594, allocations: 84.83 kB / 1.574 GB, free: 4.91 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.5941, allocations: 52.03 kB / 1.574 GB, free: 4.859 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008645/0.5949, allocations: 0.6429 MB / 1.574 GB, free: 4.207 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5949, allocations: 0 / 1.574 GB, free: 4.207 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001162/0.5961, allocations: 0.4948 MB / 1.575 GB, free: 3.711 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.004903/0.601, allocations: 2.511 MB / 1.577 GB, free: 1.379 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002186/0.6032, allocations: 1.082 MB / 1.578 GB, free: 292 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6032, allocations: 4 kB / 1.578 GB, free: 288 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.6043, allocations: 0.629 MB / 1.579 GB, free: 15.64 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.6063, allocations: 0.539 MB / 1.58 GB, free: 15.13 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.6204, allocations: 9.017 MB / 1.588 GB, free: 5.898 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.621, allocations: 0.625 MB / 1.589 GB, free: 5.242 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001215/0.6222, allocations: 382 kB / 1.589 GB, free: 4.867 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/0.623, allocations: 0.5851 MB / 1.59 GB, free: 4.281 MB / 1.279 GB Notification: Performance of SimCode: time 5.81e-07/0.623, allocations: 0 / 1.59 GB, free: 4.281 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6139/1.237, allocations: 37.06 MB / 1.626 GB, free: 242.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.69, allocations: 10.92 kB / 1.626 GB, free: 242.4 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: 21.035137692000717]