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.001909/0.001909, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002462/0.002462, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.773 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.274/3.274, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002126/0.002126, allocations: 73.05 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2085/0.5671, allocations: 156 MB / 1.478 GB, free: 5.203 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.587, allocations: 12.04 MB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.5885, allocations: 43.62 kB / 1.49 GB, free: 9.086 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5901, allocations: 476.4 kB / 1.49 GB, free: 8.617 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.5939, allocations: 1.067 MB / 1.491 GB, free: 7.547 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.5995, allocations: 1.906 MB / 1.493 GB, free: 5.648 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003782/0.6033, allocations: 2.559 MB / 1.496 GB, free: 3.082 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.6056, allocations: 1.263 MB / 1.497 GB, free: 1.758 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00488/0.6105, allocations: 1.646 MB / 1.498 GB, free: 144 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.6119, allocations: 0.8205 MB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.6122, allocations: 172 kB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.615, allocations: 1.291 MB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.6155, allocations: 0.4906 MB / 1.501 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009102/0.6164, allocations: 0.7233 MB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005733/0.6222, allocations: 2.841 MB / 1.505 GB, free: 9.785 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.6222, allocations: 0 / 1.505 GB, free: 9.785 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6222, allocations: 0 / 1.505 GB, free: 9.785 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.747e-05/0.6223, allocations: 0 / 1.505 GB, free: 9.785 MB / 1.201 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.004278/0.6265, allocations: 2.028 MB / 1.507 GB, free: 7.711 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6266, allocations: 8.031 kB / 1.507 GB, free: 7.703 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.6299, allocations: 466.5 kB / 1.507 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.6321, allocations: 0.9671 MB / 1.508 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.6322, allocations: 106.7 kB / 1.508 GB, free: 6.141 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.6324, allocations: 132 kB / 1.508 GB, free: 6.012 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.6356, allocations: 2.03 MB / 1.51 GB, free: 3.781 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.6357, allocations: 3.938 kB / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.6358, allocations: 56 kB / 1.51 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.6359, allocations: 36 kB / 1.51 GB, free: 3.688 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.6389, allocations: 1.54 MB / 1.512 GB, free: 2.141 MB / 1.201 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.007477/0.6464, allocations: 3.767 MB / 1.515 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.6491, allocations: 1.145 MB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008899/0.6499, allocations: 443.6 kB / 1.517 GB, free: 12.7 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.6506, allocations: 112.9 kB / 1.517 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/0.6522, allocations: 1.05 MB / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.216e-06/0.6522, allocations: 0 / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004654/0.6568, allocations: 1.586 MB / 1.52 GB, free: 9.844 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.6569, allocations: 200.9 kB / 1.52 GB, free: 9.605 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.6581, allocations: 0.763 MB / 1.521 GB, free: 8.832 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.6582, allocations: 53.64 kB / 1.521 GB, free: 8.773 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.6588, allocations: 0.6141 MB / 1.521 GB, free: 8.152 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.6592, allocations: 372.8 kB / 1.522 GB, free: 7.785 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.6596, allocations: 218.8 kB / 1.522 GB, free: 7.566 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6597, allocations: 341.9 kB / 1.522 GB, free: 7.227 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008676/0.6606, allocations: 406.4 kB / 1.523 GB, free: 6.828 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6618, allocations: 0.7464 MB / 1.523 GB, free: 5.984 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.6637, allocations: 0.9527 MB / 1.524 GB, free: 4.988 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6637, allocations: 4 kB / 1.524 GB, free: 4.984 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003037/0.6667, allocations: 1.216 MB / 1.525 GB, free: 3.758 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6668, allocations: 11.94 kB / 1.525 GB, free: 3.746 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6668, allocations: 4 kB / 1.525 GB, free: 3.742 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006506/0.6674, allocations: 88.77 kB / 1.525 GB, free: 3.652 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6686, allocations: 255.6 kB / 1.526 GB, free: 3.402 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.671, allocations: 1.508 MB / 1.527 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6721, allocations: 123.4 kB / 1.527 GB, free: 1.668 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6723, allocations: 51.95 kB / 1.527 GB, free: 1.617 MB / 1.217 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.0007216/0.673, allocations: 359.3 kB / 1.528 GB, free: 1.258 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.6732, allocations: 115.3 kB / 1.528 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/0.6767, allocations: 1.42 MB / 1.529 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.6767, allocations: 11.94 kB / 1.529 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6767, allocations: 4 kB / 1.529 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.6767, allocations: 7.969 kB / 1.529 GB, free: 15.68 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 postOpt removeSimpleEquations (simulation): time 0.005187/0.6819, allocations: 2.419 MB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6819, allocations: 0 / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.683, allocations: 223.7 kB / 1.532 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.6835, allocations: 76.78 kB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/0.6836, allocations: 27.98 kB / 1.532 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.6856, allocations: 1.544 MB / 1.533 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6856, allocations: 0 / 1.533 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.6887, allocations: 1.318 MB / 1.535 GB, free: 9.914 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007025/0.6894, allocations: 262.8 kB / 1.535 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.6896, allocations: 31.94 kB / 1.535 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009345/0.6905, allocations: 80.88 kB / 1.535 GB, free: 9.551 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.6907, allocations: 88.83 kB / 1.535 GB, free: 9.465 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.6908, allocations: 51.95 kB / 1.535 GB, free: 9.414 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008039/0.6916, allocations: 0.5302 MB / 1.536 GB, free: 8.887 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6916, allocations: 0 / 1.536 GB, free: 8.887 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001399/0.693, allocations: 0.5142 MB / 1.536 GB, free: 8.371 MB / 1.232 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.002523/0.6955, allocations: 0.7296 MB / 1.537 GB, free: 7.844 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.6982, allocations: 1.112 MB / 1.538 GB, free: 6.715 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6982, allocations: 0.6875 kB / 1.538 GB, free: 6.715 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6995, allocations: 0.6328 MB / 1.539 GB, free: 6.074 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.7015, allocations: 461.6 kB / 1.539 GB, free: 5.645 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.7062, allocations: 2.388 MB / 1.541 GB, free: 3.223 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.707, allocations: 0.6321 MB / 1.542 GB, free: 2.555 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001297/0.7082, allocations: 368.6 kB / 1.542 GB, free: 2.191 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.7086, allocations: 135.4 kB / 1.543 GB, free: 2.059 MB / 1.232 GB Notification: Performance of SimCode: time 1.022e-06/0.7086, allocations: 0 / 1.543 GB, free: 2.059 MB / 1.232 GB Notification: Performance of Templates: time 0.04328/0.7519, allocations: 24.64 MB / 1.567 GB, free: 9.855 MB / 1.264 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.590584747493267]