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.00143/0.00143, allocations: 114.3 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.001657/0.001657, allocations: 209 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.031 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 2.852/2.852, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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.001996/0.001996, allocations: 68.38 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2209/0.5532, allocations: 180.6 MB / 1.46 GB, free: 6.523 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5734, allocations: 13.13 MB / 1.473 GB, free: 9.352 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.5752, allocations: 51.56 kB / 1.473 GB, free: 9.301 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.577, allocations: 488.3 kB / 1.473 GB, free: 8.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.5808, allocations: 1.078 MB / 1.474 GB, free: 7.742 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.586, allocations: 1.959 MB / 1.476 GB, free: 5.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003858/0.5899, allocations: 2.571 MB / 1.479 GB, free: 3.203 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.5923, allocations: 1.295 MB / 1.48 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.5968, allocations: 1.499 MB / 1.481 GB, free: 384 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.5984, allocations: 0.9103 MB / 1.482 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.5988, allocations: 172 kB / 1.482 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.6022, allocations: 1.529 MB / 1.484 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.6028, allocations: 0.5023 MB / 1.484 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.6043, allocations: 0.8864 MB / 1.485 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.6093, allocations: 2.865 MB / 1.488 GB, free: 9.492 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6093, allocations: 0 / 1.488 GB, free: 9.492 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6093, allocations: 0 / 1.488 GB, free: 9.492 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.674e-05/0.6094, allocations: 0 / 1.488 GB, free: 9.492 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.00454/0.6139, allocations: 2.043 MB / 1.49 GB, free: 7.402 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.614, allocations: 8.031 kB / 1.49 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/0.6143, allocations: 202.7 kB / 1.49 GB, free: 7.188 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.6177, allocations: 462.5 kB / 1.491 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.6197, allocations: 0.9749 MB / 1.492 GB, free: 5.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.6198, allocations: 102.7 kB / 1.492 GB, free: 5.629 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.62, allocations: 136 kB / 1.492 GB, free: 5.496 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.623, allocations: 1.52 MB / 1.493 GB, free: 3.898 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.623, allocations: 0 / 1.493 GB, free: 3.898 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.6231, allocations: 63.98 kB / 1.493 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.6232, allocations: 36 kB / 1.493 GB, free: 3.801 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.6261, allocations: 1.579 MB / 1.495 GB, free: 2.215 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.008418/0.6345, allocations: 5.242 MB / 1.5 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.6372, allocations: 1.15 MB / 1.501 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009153/0.6381, allocations: 448.9 kB / 1.502 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.6388, allocations: 116.8 kB / 1.502 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.6401, allocations: 0.6996 MB / 1.502 GB, free: 10.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 2.555e-06/0.6401, allocations: 0 / 1.502 GB, free: 10.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.004694/0.6448, allocations: 1.597 MB / 1.504 GB, free: 8.629 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.645, allocations: 196.9 kB / 1.504 GB, free: 8.395 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.6464, allocations: 0.9206 MB / 1.505 GB, free: 7.453 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.6465, allocations: 49.7 kB / 1.505 GB, free: 7.398 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.6471, allocations: 0.6064 MB / 1.506 GB, free: 6.785 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.6475, allocations: 372.8 kB / 1.506 GB, free: 6.418 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.6478, allocations: 198.5 kB / 1.506 GB, free: 6.219 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.648, allocations: 345.9 kB / 1.507 GB, free: 5.875 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/0.6488, allocations: 377.8 kB / 1.507 GB, free: 5.504 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.6499, allocations: 0.5632 MB / 1.507 GB, free: 4.875 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.6518, allocations: 0.9254 MB / 1.508 GB, free: 3.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.6518, allocations: 4 kB / 1.508 GB, free: 3.906 MB / 1.201 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002959/0.6548, allocations: 1.2 MB / 1.51 GB, free: 2.695 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6548, allocations: 8 kB / 1.51 GB, free: 2.688 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6548, allocations: 4 kB / 1.51 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.6554, allocations: 85.19 kB / 1.51 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6566, allocations: 243.7 kB / 1.51 GB, free: 2.359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.6589, allocations: 1.551 MB / 1.511 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.66, allocations: 136.9 kB / 1.511 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.6601, allocations: 47.97 kB / 1.512 GB, free: 0.5117 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.000639/0.6607, allocations: 337.6 kB / 1.512 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.661, allocations: 127.2 kB / 1.512 GB, free: 48 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.6645, allocations: 1.437 MB / 1.513 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6646, allocations: 16 kB / 1.513 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6646, allocations: 0 / 1.513 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.6646, allocations: 7.969 kB / 1.513 GB, free: 14.57 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.00573/0.6703, allocations: 2.867 MB / 1.516 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6703, allocations: 0 / 1.516 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6714, allocations: 219.7 kB / 1.516 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.6718, allocations: 76.72 kB / 1.516 GB, free: 11.33 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.6719, allocations: 31.97 kB / 1.517 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.6741, allocations: 1.574 MB / 1.518 GB, free: 9.605 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6741, allocations: 0 / 1.518 GB, free: 9.605 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.677, allocations: 1.331 MB / 1.519 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.6778, allocations: 294.7 kB / 1.52 GB, free: 7.969 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.678, allocations: 31.88 kB / 1.52 GB, free: 7.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.679, allocations: 71.92 kB / 1.52 GB, free: 7.867 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6792, allocations: 92.83 kB / 1.52 GB, free: 7.777 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.6793, allocations: 51.95 kB / 1.52 GB, free: 7.727 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001031/0.6804, allocations: 0.6389 MB / 1.52 GB, free: 7.078 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6804, allocations: 0 / 1.52 GB, free: 7.078 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001385/0.6818, allocations: 0.4909 MB / 1.521 GB, free: 6.586 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.005492/0.6873, allocations: 2.489 MB / 1.523 GB, free: 4.254 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.6897, allocations: 1.086 MB / 1.524 GB, free: 3.156 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6897, allocations: 0 / 1.524 GB, free: 3.156 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.691, allocations: 0.6367 MB / 1.525 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.6934, allocations: 0.5274 MB / 1.526 GB, free: 1.996 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.7107, allocations: 9.003 MB / 1.534 GB, free: 8.793 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.7117, allocations: 1.217 MB / 1.536 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001423/0.7132, allocations: 394 kB / 1.536 GB, free: 7.156 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.7142, allocations: 0.5851 MB / 1.537 GB, free: 6.57 MB / 1.232 GB Notification: Performance of SimCode: time 7.91e-07/0.7142, allocations: 0 / 1.537 GB, free: 6.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08925/0.8034, allocations: 35.27 MB / 1.571 GB, free: 3.699 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.73, allocations: 13 kB / 1.571 GB, free: 3.688 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 23.694444921799004]