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.001618/0.001618, allocations: 109.3 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.001816/0.001816, 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.17/3.17, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [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.002151/0.002151, allocations: 73.64 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3669, allocations: 176.1 MB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2191/0.586, allocations: 180.4 MB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.605, allocations: 12.96 MB / 1.51 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.6064, allocations: 43.62 kB / 1.51 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.6079, allocations: 488.3 kB / 1.511 GB, free: 380 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.6113, allocations: 1.068 MB / 1.512 GB, free: 15.3 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.6162, allocations: 1.9 MB / 1.513 GB, free: 13.41 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.6202, allocations: 2.559 MB / 1.516 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.6223, allocations: 1.317 MB / 1.517 GB, free: 9.461 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.6269, allocations: 1.627 MB / 1.519 GB, free: 7.859 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.6283, allocations: 0.9026 MB / 1.52 GB, free: 6.953 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.6288, allocations: 172 kB / 1.52 GB, free: 6.785 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.6321, allocations: 1.509 MB / 1.521 GB, free: 5.273 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.6328, allocations: 498.5 kB / 1.522 GB, free: 4.785 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.634, allocations: 0.8863 MB / 1.523 GB, free: 3.895 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.6385, allocations: 2.857 MB / 1.525 GB, free: 1.027 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6385, allocations: 0 / 1.525 GB, free: 1.027 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6385, allocations: 0 / 1.525 GB, free: 1.027 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.6386, allocations: 0 / 1.525 GB, free: 1.027 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.00384/0.6424, allocations: 2.115 MB / 1.528 GB, free: 14.85 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6424, allocations: 11.98 kB / 1.528 GB, free: 14.84 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.6459, allocations: 470.4 kB / 1.528 GB, free: 14.38 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.6478, allocations: 1.051 MB / 1.529 GB, free: 13.28 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.6479, allocations: 98.72 kB / 1.529 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.6481, allocations: 132 kB / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.6509, allocations: 1.524 MB / 1.531 GB, free: 11.45 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.651, allocations: 0 / 1.531 GB, free: 11.45 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.6511, allocations: 60 kB / 1.531 GB, free: 11.39 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.6512, allocations: 32 kB / 1.531 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.6542, allocations: 1.587 MB / 1.532 GB, free: 9.766 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.008053/0.6623, allocations: 5.42 MB / 1.538 GB, free: 4.004 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.6652, allocations: 1.449 MB / 1.539 GB, free: 2.473 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009087/0.6661, allocations: 442.4 kB / 1.539 GB, free: 2.043 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008112/0.6669, allocations: 429.3 kB / 1.54 GB, free: 1.547 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.6683, allocations: 0.6918 MB / 1.541 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of pre-optimization done (n=107): time 2.414e-06/0.6683, allocations: 0 / 1.541 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of matching and sorting (n=107): time 0.00488/0.6732, allocations: 1.673 MB / 1.542 GB, free: 15.14 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.6733, allocations: 196.9 kB / 1.542 GB, free: 14.9 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.6747, allocations: 0.9206 MB / 1.543 GB, free: 13.96 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.6748, allocations: 49.7 kB / 1.543 GB, free: 13.91 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.6754, allocations: 0.6142 MB / 1.544 GB, free: 13.29 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.6758, allocations: 368.8 kB / 1.544 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.6762, allocations: 222.8 kB / 1.544 GB, free: 12.7 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6764, allocations: 345.9 kB / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.6774, allocations: 390.4 kB / 1.545 GB, free: 11.97 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.6785, allocations: 0.5784 MB / 1.546 GB, free: 11.34 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.6805, allocations: 0.9566 MB / 1.547 GB, free: 10.34 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6805, allocations: 0 / 1.547 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003111/0.6836, allocations: 1.243 MB / 1.548 GB, free: 9.09 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6836, allocations: 11.98 kB / 1.548 GB, free: 9.078 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6836, allocations: 3.938 kB / 1.548 GB, free: 9.074 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/0.6843, allocations: 85.19 kB / 1.548 GB, free: 8.988 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.6855, allocations: 251.7 kB / 1.548 GB, free: 8.742 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.6879, allocations: 1.646 MB / 1.55 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.689, allocations: 147.2 kB / 1.55 GB, free: 6.805 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.6891, allocations: 55.95 kB / 1.55 GB, free: 6.75 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (131): * Single equations (assignments): 130 * 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.000683/0.6898, allocations: 339.3 kB / 1.55 GB, free: 6.41 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.6901, allocations: 131.2 kB / 1.55 GB, free: 6.281 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.6936, allocations: 1.433 MB / 1.552 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6936, allocations: 12 kB / 1.552 GB, free: 4.828 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6936, allocations: 4 kB / 1.552 GB, free: 4.824 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6937, allocations: 3.984 kB / 1.552 GB, free: 4.82 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.005574/0.6992, allocations: 2.884 MB / 1.555 GB, free: 1.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6992, allocations: 0 / 1.555 GB, free: 1.852 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7003, allocations: 215.8 kB / 1.555 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.7008, allocations: 76.72 kB / 1.555 GB, free: 1.562 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.7009, allocations: 35.97 kB / 1.555 GB, free: 1.527 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.7031, allocations: 1.678 MB / 1.557 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7031, allocations: 0 / 1.557 GB, free: 15.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.7061, allocations: 1.331 MB / 1.558 GB, free: 14.35 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.7068, allocations: 363.8 kB / 1.558 GB, free: 13.97 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.707, allocations: 27.94 kB / 1.558 GB, free: 13.95 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7081, allocations: 81.78 kB / 1.558 GB, free: 13.87 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.7083, allocations: 92.77 kB / 1.559 GB, free: 13.78 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.7084, allocations: 51.95 kB / 1.559 GB, free: 13.73 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001071/0.7094, allocations: 0.635 MB / 1.559 GB, free: 13.08 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7094, allocations: 0 / 1.559 GB, free: 13.08 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001433/0.7109, allocations: 0.4949 MB / 1.56 GB, free: 12.59 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.002354/0.7132, allocations: 0.709 MB / 1.56 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002657/0.7159, allocations: 1.113 MB / 1.561 GB, free: 10.93 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7159, allocations: 4 kB / 1.561 GB, free: 10.93 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.7173, allocations: 0.6328 MB / 1.562 GB, free: 10.28 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.7197, allocations: 0.5228 MB / 1.563 GB, free: 9.781 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.7245, allocations: 2.401 MB / 1.565 GB, free: 7.348 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.7255, allocations: 1.211 MB / 1.566 GB, free: 6.105 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001301/0.7268, allocations: 397.9 kB / 1.566 GB, free: 5.715 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.7272, allocations: 151.4 kB / 1.567 GB, free: 5.566 MB / 1.264 GB Notification: Performance of SimCode: time 7.62e-07/0.7272, allocations: 0 / 1.567 GB, free: 5.566 MB / 1.264 GB Notification: Performance of Templates: time 0.04634/0.7736, allocations: 25.17 MB / 1.591 GB, free: 12.71 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.19223403185606]