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.001342/0.001342, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.001492/0.001492, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.789 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.808/2.808, allocations: 476 MB / 0.7699 GB, free: 4.73 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.002135/0.002135, allocations: 65.17 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3043, allocations: 169.9 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.209/0.5133, allocations: 156 MB / 1.435 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.5385, allocations: 12.05 MB / 1.447 GB, free: 3.77 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.5402, allocations: 43.69 kB / 1.447 GB, free: 3.727 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.5425, allocations: 472.3 kB / 1.447 GB, free: 3.262 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.5474, allocations: 1.067 MB / 1.448 GB, free: 2.191 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007595/0.555, allocations: 1.914 MB / 1.45 GB, free: 292 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.5594, allocations: 2.567 MB / 1.453 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.5621, allocations: 1.26 MB / 1.454 GB, free: 12.39 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.5667, allocations: 1.495 MB / 1.455 GB, free: 10.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.5684, allocations: 0.84 MB / 1.456 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005233/0.5689, allocations: 172 kB / 1.456 GB, free: 9.902 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.5722, allocations: 1.287 MB / 1.458 GB, free: 8.613 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007797/0.573, allocations: 0.4985 MB / 1.458 GB, free: 8.113 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.5743, allocations: 0.7194 MB / 1.459 GB, free: 7.391 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.5795, allocations: 2.845 MB / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5795, allocations: 0 / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5795, allocations: 0 / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001053/0.5796, allocations: 0 / 1.461 GB, free: 4.535 MB / 1.154 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.004579/0.5842, allocations: 2.029 MB / 1.463 GB, free: 2.461 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5843, allocations: 8.031 kB / 1.463 GB, free: 2.453 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/0.5845, allocations: 210.6 kB / 1.464 GB, free: 2.238 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/0.5879, allocations: 462.4 kB / 1.464 GB, free: 1.785 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.5903, allocations: 0.9749 MB / 1.465 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.5904, allocations: 102.7 kB / 1.465 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.5906, allocations: 132 kB / 1.465 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.594, allocations: 2.03 MB / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.5941, allocations: 0 / 1.467 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.5942, allocations: 56 kB / 1.467 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.5942, allocations: 39.98 kB / 1.467 GB, free: 14.22 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.5974, allocations: 1.54 MB / 1.469 GB, free: 12.68 MB / 1.17 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.008029/0.6054, allocations: 3.984 MB / 1.473 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.6081, allocations: 1.148 MB / 1.474 GB, free: 7.453 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/0.6091, allocations: 444.9 kB / 1.474 GB, free: 7.016 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.6097, allocations: 108.9 kB / 1.474 GB, free: 6.906 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.6114, allocations: 1.047 MB / 1.475 GB, free: 5.758 MB / 1.17 GB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.6114, allocations: 0 / 1.475 GB, free: 5.758 MB / 1.17 GB Notification: Performance of matching and sorting (n=107): time 0.004786/0.6161, allocations: 1.598 MB / 1.477 GB, free: 4.148 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.6163, allocations: 200.9 kB / 1.477 GB, free: 3.91 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.6178, allocations: 0.9283 MB / 1.478 GB, free: 2.961 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.618, allocations: 49.7 kB / 1.478 GB, free: 2.906 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.6186, allocations: 0.6142 MB / 1.479 GB, free: 2.285 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.619, allocations: 364.9 kB / 1.479 GB, free: 1.926 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.6193, allocations: 202.5 kB / 1.479 GB, free: 1.723 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6195, allocations: 341.9 kB / 1.48 GB, free: 1.383 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008939/0.6204, allocations: 377.8 kB / 1.48 GB, free: 1.012 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.6216, allocations: 0.7311 MB / 1.481 GB, free: 180 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.6236, allocations: 0.9411 MB / 1.482 GB, free: 15.19 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6236, allocations: 0 / 1.482 GB, free: 15.19 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003139/0.6267, allocations: 1.189 MB / 1.483 GB, free: 14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6268, allocations: 12 kB / 1.483 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6268, allocations: 4 kB / 1.483 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.6274, allocations: 88.72 kB / 1.483 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.6286, allocations: 243.7 kB / 1.483 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.6312, allocations: 1.557 MB / 1.485 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.6324, allocations: 127.3 kB / 1.485 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6326, allocations: 47.97 kB / 1.485 GB, free: 11.81 MB / 1.186 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.0007639/0.6333, allocations: 341.5 kB / 1.485 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.6337, allocations: 131.2 kB / 1.485 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.6371, allocations: 1.441 MB / 1.487 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.6371, allocations: 12 kB / 1.487 GB, free: 9.871 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6371, allocations: 4 kB / 1.487 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6372, allocations: 3.984 kB / 1.487 GB, free: 9.863 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 postOpt removeSimpleEquations (simulation): time 0.005859/0.643, allocations: 2.576 MB / 1.489 GB, free: 7.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.643, allocations: 4 kB / 1.489 GB, free: 7.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.6441, allocations: 223.7 kB / 1.489 GB, free: 7.012 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.6446, allocations: 72.73 kB / 1.489 GB, free: 6.938 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6447, allocations: 35.97 kB / 1.489 GB, free: 6.902 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.6469, allocations: 1.559 MB / 1.491 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6469, allocations: 0 / 1.491 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.6511, allocations: 1.331 MB / 1.492 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.6522, allocations: 282.8 kB / 1.493 GB, free: 3.59 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.6525, allocations: 31.92 kB / 1.493 GB, free: 3.559 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6537, allocations: 82.42 kB / 1.493 GB, free: 3.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.654, allocations: 92.83 kB / 1.493 GB, free: 3.391 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.6541, allocations: 55.91 kB / 1.493 GB, free: 3.336 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001447/0.6556, allocations: 0.635 MB / 1.493 GB, free: 2.691 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6556, allocations: 0 / 1.493 GB, free: 2.691 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002664/0.6582, allocations: 0.4987 MB / 1.494 GB, free: 2.191 MB / 1.186 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.00637/0.6646, allocations: 2.505 MB / 1.496 GB, free: 15.87 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002786/0.6674, allocations: 1.082 MB / 1.497 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6674, allocations: 0 / 1.497 GB, free: 14.77 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.6688, allocations: 0.6445 MB / 1.498 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.6713, allocations: 0.5338 MB / 1.499 GB, free: 13.61 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.6891, allocations: 8.991 MB / 1.507 GB, free: 4.406 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.6899, allocations: 0.6345 MB / 1.508 GB, free: 3.738 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001505/0.6915, allocations: 394 kB / 1.508 GB, free: 3.352 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009814/0.6924, allocations: 0.5812 MB / 1.509 GB, free: 2.77 MB / 1.201 GB Notification: Performance of SimCode: time 1.282e-06/0.6924, allocations: 0 / 1.509 GB, free: 2.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/0.7843, allocations: 37.06 MB / 1.545 GB, free: 14.28 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.33, allocations: 10.64 kB / 1.545 GB, free: 14.27 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.422382975928485]